mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Revert "qtdemux: Make sure we don't blacklist streams by wrongly comparing their"
This reverts commit 5503a59a57
.
Reverting this since it causes regressions with a lot of sample files
I have, all of which worked fine with the last -good release (#586891).
This commit is contained in:
parent
ae27524be0
commit
f6a1211495
1 changed files with 3 additions and 3 deletions
|
@ -3975,14 +3975,14 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
guint64 tdur1, tdur2;
|
guint64 tdur1, tdur2;
|
||||||
|
|
||||||
/* don't overflow */
|
/* don't overflow */
|
||||||
tdur1 = stream->timescale * (guint64) stream->duration;
|
tdur1 = stream->timescale * (guint64) qtdemux->duration;
|
||||||
tdur2 = qtdemux->timescale * (guint64) qtdemux->duration;
|
tdur2 = qtdemux->timescale * (guint64) stream->duration;
|
||||||
|
|
||||||
/* HACK:
|
/* HACK:
|
||||||
* some of those trailers, nowadays, have prologue images that are
|
* some of those trailers, nowadays, have prologue images that are
|
||||||
* themselves vide tracks as well. I haven't really found a way to
|
* themselves vide tracks as well. I haven't really found a way to
|
||||||
* identify those yet, except for just looking at their duration. */
|
* identify those yet, except for just looking at their duration. */
|
||||||
if (tdur2 != 0 && (tdur1 * 10 / tdur2) < 2) {
|
if (tdur1 != 0 && (tdur2 * 10 / tdur1) < 2) {
|
||||||
GST_WARNING_OBJECT (qtdemux,
|
GST_WARNING_OBJECT (qtdemux,
|
||||||
"Track shorter than 20%% (%" G_GUINT64_FORMAT "/%" G_GUINT32_FORMAT
|
"Track shorter than 20%% (%" G_GUINT64_FORMAT "/%" G_GUINT32_FORMAT
|
||||||
" vs. %" G_GUINT32_FORMAT "/%" G_GUINT32_FORMAT ") of the stream "
|
" vs. %" G_GUINT32_FORMAT "/%" G_GUINT32_FORMAT ") of the stream "
|
||||||
|
|
Loading…
Reference in a new issue