mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
qtdemux: soften assertion check on stream size
https://bugzilla.gnome.org/show_bug.cgi?id=655570
This commit is contained in:
parent
f7893b8721
commit
0424368cfc
1 changed files with 1 additions and 1 deletions
|
@ -7458,7 +7458,7 @@ gst_qtdemux_guess_bitrate (GstQTDemux * qtdemux)
|
||||||
/* Subtract the header size */
|
/* Subtract the header size */
|
||||||
GST_DEBUG_OBJECT (qtdemux, "Total size %" G_GINT64_FORMAT ", header size %u",
|
GST_DEBUG_OBJECT (qtdemux, "Total size %" G_GINT64_FORMAT ", header size %u",
|
||||||
size, qtdemux->header_size);
|
size, qtdemux->header_size);
|
||||||
g_assert (size > qtdemux->header_size);
|
g_assert (size >= qtdemux->header_size);
|
||||||
size = size - qtdemux->header_size;
|
size = size - qtdemux->header_size;
|
||||||
|
|
||||||
if (!gst_qtdemux_get_duration (qtdemux, &duration) ||
|
if (!gst_qtdemux_get_duration (qtdemux, &duration) ||
|
||||||
|
|
Loading…
Reference in a new issue