check: make new GstStreamConsistency structure private
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 28 Jul 2009 14:23:15 +0000 (15:23 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 28 Jul 2009 14:26:42 +0000 (15:26 +0100)
There's no need to have GstStreamConsistency in a public header for
the time being, so make it private. While we're at it, add a gtk-doc
blurb for it though. Re-fixes #588744.

docs/libs/gstreamer-libs-sections.txt
libs/gst/check/gstconsistencychecker.c
libs/gst/check/gstconsistencychecker.h

index 4e57edd04260aa4ca903e98053a4d9246f9ca11f..5a2b67a36e841d1c06857d0f4cd27bb7271a7492 100644 (file)
@@ -712,6 +712,7 @@ gst_buffer_straw_stop_pipeline
 <FILE>gstcheckconsistencychecker</FILE>
 <TITLE>GstStreamConsistency</TITLE>
 <INCLUDE>gst/check/gstconsistencychecker.h</INCLUDE>
+GstStreamConsistency
 gst_consistency_checker_new
 gst_consistency_checker_reset
 gst_consistency_checker_free
index affa6abd5e56e134c7b1dcbaaecba928ad125233..8f33d247c260b4251533b0a90bded43874c7ad25 100644 (file)
 
 #include "gstconsistencychecker.h"
 
+struct _GstStreamConsistency
+{
+  gboolean flushing;
+  gboolean newsegment;
+  gboolean eos;
+  gulong probeid;
+  GstPad *pad;
+};
+
 static gboolean
 source_pad_data_cb (GstPad * pad, GstMiniObject * data,
     GstStreamConsistency * consist)
index 423b28785e80d82130f257e227f5a10bb9791db6..ec88af701e58d6782de37bc6d9a8b02982e834b7 100644 (file)
 
 #include <gst/check/gstcheck.h>
 
-typedef struct _GstStreamConsistency
-{
-  gboolean flushing;
-  gboolean newsegment;
-  gboolean eos;
-  gulong probeid;
-  GstPad *pad;
-} GstStreamConsistency;
-
 G_BEGIN_DECLS
 
-GstStreamConsistency *
-gst_consistency_checker_new (GstPad *pad);
-void gst_consistency_checker_reset (GstStreamConsistency *consist);
-void gst_consistency_checker_free (GstStreamConsistency *consist);
+/**
+ * GstStreamConsistency:
+ *
+ * Opaque consistency checker handle.
+ *
+ * Since: 0.10.24
+ */
+typedef struct _GstStreamConsistency GstStreamConsistency;
+
+
+GstStreamConsistency * gst_consistency_checker_new   (GstPad * pad);
+
+void                   gst_consistency_checker_reset (GstStreamConsistency * consist);
+
+void                   gst_consistency_checker_free  (GstStreamConsistency * consist);
 
 G_END_DECLS