mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
adaptivedemux2: Move GST_ADAPTIVE_DEMUX_FLOW_BUSY to adaptivedemux.h
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
0962908e62
commit
8d0c7d9d93
2 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,6 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
/* Internal, so not using GST_FLOW_CUSTOM_SUCCESS_N */
|
/* Internal, so not using GST_FLOW_CUSTOM_SUCCESS_N */
|
||||||
#define GST_ADAPTIVE_DEMUX_FLOW_SWITCH (GST_FLOW_CUSTOM_SUCCESS_2 + 2)
|
#define GST_ADAPTIVE_DEMUX_FLOW_SWITCH (GST_FLOW_CUSTOM_SUCCESS_2 + 2)
|
||||||
#define GST_ADAPTIVE_DEMUX_FLOW_BUSY (GST_FLOW_CUSTOM_SUCCESS_2 + 3)
|
|
||||||
|
|
||||||
#define TRACKS_GET_LOCK(d) (&GST_ADAPTIVE_DEMUX_CAST(d)->priv->tracks_lock)
|
#define TRACKS_GET_LOCK(d) (&GST_ADAPTIVE_DEMUX_CAST(d)->priv->tracks_lock)
|
||||||
#define TRACKS_LOCK(d) g_mutex_lock (TRACKS_GET_LOCK (d))
|
#define TRACKS_LOCK(d) g_mutex_lock (TRACKS_GET_LOCK (d))
|
||||||
|
|
|
@ -85,6 +85,10 @@ G_BEGIN_DECLS
|
||||||
/* The live stream has lost synchronization and the demuxer needs to be resetted */
|
/* The live stream has lost synchronization and the demuxer needs to be resetted */
|
||||||
#define GST_ADAPTIVE_DEMUX_FLOW_LOST_SYNC GST_FLOW_CUSTOM_SUCCESS_2 + 1
|
#define GST_ADAPTIVE_DEMUX_FLOW_LOST_SYNC GST_FLOW_CUSTOM_SUCCESS_2 + 1
|
||||||
|
|
||||||
|
/* The stream sub-class is busy and can't supply information for
|
||||||
|
* ::update_fragment_info() right now */
|
||||||
|
#define GST_ADAPTIVE_DEMUX_FLOW_BUSY (GST_FLOW_CUSTOM_SUCCESS_2 + 3)
|
||||||
|
|
||||||
typedef struct _GstAdaptiveDemuxPrivate GstAdaptiveDemuxPrivate;
|
typedef struct _GstAdaptiveDemuxPrivate GstAdaptiveDemuxPrivate;
|
||||||
|
|
||||||
struct _GstAdaptiveDemuxTrack
|
struct _GstAdaptiveDemuxTrack
|
||||||
|
|
Loading…
Reference in a new issue