[Bug 797133] qtmux: Allow up to 1 audio sample of lateness in prefill mode
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 12 14:27:55 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797133
--- Comment #1 from Vivia Nikolaidou <vivia at ahiru.eu> ---
Created attachment 373621
--> https://bugzilla.gnome.org/attachment.cgi?id=373621&action=edit
qtmux: Allow up to 1 audio sample of lateness in prefill mode
For 59.94 FPS, it's common to set 60000 as timescale. For that
timescale, if the audio is late by as little as 0:00:00.000016666
(definitely less than one audio sample), lateness gets rounded to 1.
Added a safeguard that allows lateness up to 1 sample with the specific
trak's timescale, to make sure that values less than one audio sample
won't break the prefill mode. What will happen in this case is that the
audio will get squeezed back to the video's timestamp, which in practice
means that the audio will be 0.000016666 seconds early (with the patch).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list