[Bug 743259] tsdemux: bogus timestamp when PTS < PCR
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Mar 2 14:26:01 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=743259
Jan Schmidt <thaytan at noraisin.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.8.0
--- Comment #4 from Jan Schmidt <thaytan at noraisin.net> ---
Thanks, pushed as one squashed commit:
commit d87177b69b15e049d8e7da13c590b0db2e51529b
Author: Aurélien Zanelli <aurelien.zanelli at parrot.com>
Date: Tue Jan 20 16:20:10 2015 +0100
mpegtspacketizer: handle early PTS conversion when a group has been found
In some cases, the PTS might be smaller than the first observed PCR
value which causes element to apply wraparound leading to bogus
timestamp. To solve this, we only apply it if the PTS-PCR difference is
greater that 1 second to be sure that it's a real wraparound.
Moreover, using unsigned 32 bits values to handle wrapover could end up
with bogus value, so it use pts value to handle it.
Also, convert pcr time to gst time before comparing it to pts.
Since refpcr is expressed in PCR time base while pts is expressed in
GStreamer
time.
https://bugzilla.gnome.org/show_bug.cgi?id=743259
--
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