mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
aggregator: Export GstAggregatorStartTimeSelection in the header and document it
It is used by one of the aggregator properties and was private in the source file before.
This commit is contained in:
parent
3e37b0ab82
commit
ea32d1741c
2 changed files with 21 additions and 8 deletions
|
@ -91,14 +91,7 @@
|
||||||
|
|
||||||
#include "gstaggregator.h"
|
#include "gstaggregator.h"
|
||||||
|
|
||||||
typedef enum
|
GType
|
||||||
{
|
|
||||||
GST_AGGREGATOR_START_TIME_SELECTION_ZERO,
|
|
||||||
GST_AGGREGATOR_START_TIME_SELECTION_FIRST,
|
|
||||||
GST_AGGREGATOR_START_TIME_SELECTION_SET
|
|
||||||
} GstAggregatorStartTimeSelection;
|
|
||||||
|
|
||||||
static GType
|
|
||||||
gst_aggregator_start_time_selection_get_type (void)
|
gst_aggregator_start_time_selection_get_type (void)
|
||||||
{
|
{
|
||||||
static GType gtype = 0;
|
static GType gtype = 0;
|
||||||
|
|
|
@ -389,6 +389,26 @@ GST_BASE_API
|
||||||
void gst_aggregator_update_segment (GstAggregator * self,
|
void gst_aggregator_update_segment (GstAggregator * self,
|
||||||
const GstSegment * segment);
|
const GstSegment * segment);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstAggregatorStartTimeSelection:
|
||||||
|
* @GST_AGGREGATOR_START_TIME_SELECTION_ZERO: Start at running time 0.
|
||||||
|
* @GST_AGGREGATOR_START_TIME_SELECTION_FIRST: Start at the running time of
|
||||||
|
* the first buffer that is received.
|
||||||
|
* @GST_AGGREGATOR_START_TIME_SELECTION_SET: Start at the running time
|
||||||
|
* selected by the `start-time` property.
|
||||||
|
*
|
||||||
|
* Since: 1.14
|
||||||
|
*/
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
GST_AGGREGATOR_START_TIME_SELECTION_ZERO,
|
||||||
|
GST_AGGREGATOR_START_TIME_SELECTION_FIRST,
|
||||||
|
GST_AGGREGATOR_START_TIME_SELECTION_SET
|
||||||
|
} GstAggregatorStartTimeSelection;
|
||||||
|
|
||||||
|
GST_BASE_API
|
||||||
|
GType gst_aggregator_start_time_selection_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAggregator, gst_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAggregator, gst_object_unref)
|
||||||
|
|
Loading…
Reference in a new issue