Commit ea32d174 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Thibault Saunier
Browse files

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.
parent 3e37b0ab
......@@ -91,14 +91,7 @@
#include "gstaggregator.h"
typedef enum
{
GST_AGGREGATOR_START_TIME_SELECTION_ZERO,
GST_AGGREGATOR_START_TIME_SELECTION_FIRST,
GST_AGGREGATOR_START_TIME_SELECTION_SET
} GstAggregatorStartTimeSelection;
static GType
GType
gst_aggregator_start_time_selection_get_type (void)
{
static GType gtype = 0;
......
......@@ -389,6 +389,26 @@ GST_BASE_API
void gst_aggregator_update_segment (GstAggregator * self,
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_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAggregator, gst_object_unref)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment