mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
qtdemux: Don't assert if a file does not have any active streams
** (gst-play-1.0:9113): CRITICAL **: 12:31:54.360: qtdemux_is_streams_update: assertion 'qtdemux->active_streams != NULL' failed
This commit is contained in:
parent
e58dceec3a
commit
6ce2a5f7bf
1 changed files with 2 additions and 1 deletions
|
@ -12377,7 +12377,8 @@ qtdemux_is_streams_update (GstQTDemux * qtdemux)
|
||||||
{
|
{
|
||||||
GList *new, *old;
|
GList *new, *old;
|
||||||
|
|
||||||
g_return_val_if_fail (qtdemux->active_streams != NULL, FALSE);
|
if (!qtdemux->active_streams)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
/* streams in list are sorted in track-id order */
|
/* streams in list are sorted in track-id order */
|
||||||
for (new = qtdemux->active_streams, old = qtdemux->old_streams; new && old;
|
for (new = qtdemux->active_streams, old = qtdemux->old_streams; new && old;
|
||||||
|
|
Loading…
Reference in a new issue