[Bug 797133] qtmux: Allow up to 1 audio sample of lateness in prefill mode
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Sep 13 10:49:37 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797133
Vivia Nikolaidou <vivia at ahiru.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #373623|accepted-commit_now |none
status| |
Attachment #373623|0 |1
is obsolete| |
--- Comment #6 from Vivia Nikolaidou <vivia at ahiru.eu> ---
Created attachment 373633
--> https://bugzilla.gnome.org/attachment.cgi?id=373633&action=edit
qtmux: Allow up to 1 trak timescale unit 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 e.g. 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