gstconsistencychecker.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* GStreamer
  2. *
  3. * unit testing helper lib
  4. *
  5. * Copyright (C) 2009 Edward Hervey <[email protected]>
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Library General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 2 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Library General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Library General Public
  18. * License along with this library; if not, write to the
  19. * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  20. * Boston, MA 02110-1301, USA.
  21. */
  22. #ifndef __GST_CONSISTENCY_CHECKER_H__
  23. #define __GST_CONSISTENCY_CHECKER_H__
  24. #include <gst/check/gstcheck.h>
  25. G_BEGIN_DECLS
  26. /**
  27. * GstStreamConsistency:
  28. *
  29. * Opaque consistency checker handle.
  30. */
  31. typedef struct _GstStreamConsistency GstStreamConsistency;
  32. GstStreamConsistency * gst_consistency_checker_new (GstPad * pad);
  33. gboolean gst_consistency_checker_add_pad (GstStreamConsistency * consist,
  34. GstPad * pad);
  35. void gst_consistency_checker_reset (GstStreamConsistency * consist);
  36. void gst_consistency_checker_free (GstStreamConsistency * consist);
  37. G_END_DECLS
  38. #endif /* __GST_CONSISTENCY_CHECKER_H__ */