diff options
Diffstat (limited to 'plugins/elements/gstinputselector.h')
-rw-r--r-- | plugins/elements/gstinputselector.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/elements/gstinputselector.h b/plugins/elements/gstinputselector.h index 8a5248a..dd48a51 100644 --- a/plugins/elements/gstinputselector.h +++ b/plugins/elements/gstinputselector.h @@ -48,6 +48,18 @@ typedef struct _GstInputSelectorClass GstInputSelectorClass; GST_INPUT_SELECTOR_GET_LOCK(sel))) #define GST_INPUT_SELECTOR_BROADCAST(sel) (g_cond_broadcast (GST_INPUT_SELECTOR_GET_COND(sel))) +/** + * GstInputSelectorSyncMode: + * @GST_INPUT_SELECTOR_SYNC_MODE_ACTIVE_SEGMENT: Sync using the current active segment. + * @GST_INPUT_SELECTOR_SYNC_MODE_CLOCK: Sync using the clock. + * + * The different ways that input-selector can behave when in sync-streams mode. + */ +typedef enum { + GST_INPUT_SELECTOR_SYNC_MODE_ACTIVE_SEGMENT, + GST_INPUT_SELECTOR_SYNC_MODE_CLOCK +} GstInputSelectorSyncMode; + struct _GstInputSelector { GstElement element; @@ -57,6 +69,8 @@ struct _GstInputSelector { guint n_pads; guint padcount; gboolean sync_streams; + GstInputSelectorSyncMode sync_mode; + gboolean cache_buffers; GMutex lock; GCond cond; |