mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
db8aeb3b84
commit
623c19983a
3 changed files with 25 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -25,20 +25,22 @@
|
|||
|
||||
#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);
|
||||
/**
|
||||
* 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
|
||||
|
|
Loading…
Reference in a new issue