mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
adaptivedemux2-stream: Silence a compiler warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2839>
This commit is contained in:
parent
1060f72f90
commit
d60c2f46e2
1 changed files with 3 additions and 1 deletions
|
@ -1726,7 +1726,9 @@ gst_adaptive_demux2_stream_load_a_fragment (GstAdaptiveDemux2Stream * stream)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (ret) {
|
/* Cast to int avoids a compiler warning that
|
||||||
|
* GST_ADAPTIVE_DEMUX_FLOW_LOST_SYNC is not in the GstFlowReturn enum */
|
||||||
|
switch ((int) ret) {
|
||||||
case GST_FLOW_OK:
|
case GST_FLOW_OK:
|
||||||
break; /* all is good, let's go */
|
break; /* all is good, let's go */
|
||||||
case GST_FLOW_EOS:
|
case GST_FLOW_EOS:
|
||||||
|
|
Loading…
Reference in a new issue