projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adaptivedemux2-stream: Silence a compiler warning
[platform/upstream/gstreamer.git]
/
subprojects
/
gst-plugins-good
/
ext
/
adaptivedemux2
/
gstadaptivedemux-stream.c
diff --git
a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
index
4bf61e7
..
cfc0882
100644
(file)
--- a/
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
+++ b/
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c
@@
-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:
break; /* all is good, let's go */
case GST_FLOW_EOS: