check: make new GstStreamConsistency structure private

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.
This commit is contained in:
Tim-Philipp Müller 2009-07-28 15:23:15 +01:00
parent db8aeb3b84
commit 623c19983a
3 changed files with 25 additions and 13 deletions

View 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

View file

@ -32,6 +32,15 @@
#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)

View file

@ -25,21 +25,23 @@
#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