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>
|
<FILE>gstcheckconsistencychecker</FILE>
|
||||||
<TITLE>GstStreamConsistency</TITLE>
|
<TITLE>GstStreamConsistency</TITLE>
|
||||||
<INCLUDE>gst/check/gstconsistencychecker.h</INCLUDE>
|
<INCLUDE>gst/check/gstconsistencychecker.h</INCLUDE>
|
||||||
|
GstStreamConsistency
|
||||||
gst_consistency_checker_new
|
gst_consistency_checker_new
|
||||||
gst_consistency_checker_reset
|
gst_consistency_checker_reset
|
||||||
gst_consistency_checker_free
|
gst_consistency_checker_free
|
||||||
|
|
|
@ -32,6 +32,15 @@
|
||||||
|
|
||||||
#include "gstconsistencychecker.h"
|
#include "gstconsistencychecker.h"
|
||||||
|
|
||||||
|
struct _GstStreamConsistency
|
||||||
|
{
|
||||||
|
gboolean flushing;
|
||||||
|
gboolean newsegment;
|
||||||
|
gboolean eos;
|
||||||
|
gulong probeid;
|
||||||
|
GstPad *pad;
|
||||||
|
};
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
source_pad_data_cb (GstPad * pad, GstMiniObject * data,
|
source_pad_data_cb (GstPad * pad, GstMiniObject * data,
|
||||||
GstStreamConsistency * consist)
|
GstStreamConsistency * consist)
|
||||||
|
|
|
@ -25,21 +25,23 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
typedef struct _GstStreamConsistency
|
|
||||||
{
|
|
||||||
gboolean flushing;
|
|
||||||
gboolean newsegment;
|
|
||||||
gboolean eos;
|
|
||||||
gulong probeid;
|
|
||||||
GstPad *pad;
|
|
||||||
} GstStreamConsistency;
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
GstStreamConsistency *
|
/**
|
||||||
gst_consistency_checker_new (GstPad *pad);
|
* GstStreamConsistency:
|
||||||
void gst_consistency_checker_reset (GstStreamConsistency *consist);
|
*
|
||||||
void gst_consistency_checker_free (GstStreamConsistency *consist);
|
* 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
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue