mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
qtdemux: Fix compiler warning
qtdemux.c: In function ‘gst_qtdemux_configure_stream’: qtdemux.c:7764:34: error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses] if ((stream->n_samples == 1) && (stream->first_duration == 0) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
5874bafa4f
commit
728a1629cf
1 changed files with 1 additions and 1 deletions
|
@ -7761,7 +7761,7 @@ gst_qtdemux_configure_stream (GstQTDemux * qtdemux, QtDemuxStream * stream)
|
|||
* qt does not have a fixed framerate. */
|
||||
gboolean fps_available = TRUE;
|
||||
|
||||
if ((stream->n_samples == 1) && (stream->first_duration == 0)
|
||||
if ((stream->n_samples == 1 && stream->first_duration == 0)
|
||||
|| (qtdemux->fragmented && stream->n_samples_moof == 1)) {
|
||||
/* still frame */
|
||||
CUR_STREAM (stream)->fps_n = 0;
|
||||
|
|
Loading…
Reference in a new issue