mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
adaptivedemux2: Move internal FLOW_SWITCH return value.
Move the internal-only FLOW_SWITCH custom return value to GST_FLOW_CUSTOM_SUCCESS+2 to avoid collision with GST_ADAPTIVE_DEMUX_FLOW_LOST_SYNC Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2839>
This commit is contained in:
parent
0857f5af5f
commit
1060f72f90
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
#define MAX_DOWNLOAD_ERROR_COUNT 3
|
||||
|
||||
/* Internal, so not using GST_FLOW_CUSTOM_SUCCESS_N */
|
||||
#define GST_ADAPTIVE_DEMUX_FLOW_SWITCH (GST_FLOW_CUSTOM_SUCCESS_2 + 1)
|
||||
#define GST_ADAPTIVE_DEMUX_FLOW_SWITCH (GST_FLOW_CUSTOM_SUCCESS_2 + 2)
|
||||
|
||||
#define TRACKS_GET_LOCK(d) (&GST_ADAPTIVE_DEMUX_CAST(d)->priv->tracks_lock)
|
||||
#define TRACKS_LOCK(d) g_mutex_lock (TRACKS_GET_LOCK (d))
|
||||
|
|
Loading…
Reference in a new issue