| GStreamer 0.10 Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <gst/check/gstconsistencychecker.h>
GstStreamConsistency;
GstStreamConsistency * gst_consistency_checker_new (GstPad *pad);
void gst_consistency_checker_reset (GstStreamConsistency *consist);
void gst_consistency_checker_free (GstStreamConsistency *consist);
These macros and functions are for internal use of the unit tests found inside the 'check' directories of various GStreamer packages.
typedef struct _GstStreamConsistency GstStreamConsistency;
Opaque consistency checker handle.
Since 0.10.24
GstStreamConsistency * gst_consistency_checker_new (GstPad *pad);
Sets up a data probe on the given pad which will raise assertions if the data flow is inconsistent.
Currently only works for source pads.
|
The GstPad on which the dataflow will be checked. |
Returns : |
A GstStreamConsistency structure used to track data flow. |
Since 0.10.24
void gst_consistency_checker_reset (GstStreamConsistency *consist);
Reset the stream checker's internal variables.
|
The GstStreamConsistency to reset. |
Since 0.10.24
void gst_consistency_checker_free (GstStreamConsistency *consist);
Frees the allocated data and probe associated with consist.
|
The GstStreamConsistency to free. |
Since 0.10.24