mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dashdemux: If a fragment contains no sync samples, disable key-unit mode
https://bugzilla.gnome.org/show_bug.cgi?id=741104
This commit is contained in:
parent
cfad48ce5a
commit
f8eddabe29
1 changed files with 8 additions and 0 deletions
|
@ -2210,6 +2210,14 @@ gst_dash_demux_find_sync_samples (GstAdaptiveDemux * demux,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dash_stream->moof_sync_samples->len == 0) {
|
||||||
|
GST_LOG_OBJECT (stream->pad, "No sync samples found in fragment");
|
||||||
|
g_array_free (dash_stream->moof_sync_samples, TRUE);
|
||||||
|
dash_stream->moof_sync_samples = NULL;
|
||||||
|
dashdemux->allow_trickmode_key_units = FALSE;
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue