mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
493f8e440a
The wraparound handling code assumes that the PCR gets updated regularly for being able to detect wraparounds. With ignore-pcr=true that was not the case and it stayed initialized at 1h forever. To avoid this problem, update the fake PCR whenever the PTS advanced by more than 5s, and also detect wraparounds in these fake PCRs. Problem can be reproduced with $ gst-launch-1.0 videotestsrc pattern=black ! video/x-raw,framerate=1/5 ! \ x264enc speed-preset=ultrafast tune=zerolatency ! mpegtsmux ! \ tsdemux ignore-pcr=true ! fakesink which restarts timestamps at 0 after around 26h30m. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7588> |
||
---|---|---|
.. | ||
gstmpegdefs.h | ||
gstmpegdesc.h | ||
gsttsdemux.c | ||
meson.build | ||
mpegtsbase.c | ||
mpegtsbase.h | ||
mpegtspacketizer.c | ||
mpegtspacketizer.h | ||
mpegtsparse.c | ||
mpegtsparse.h | ||
pesparse.c | ||
pesparse.h | ||
TODO | ||
tsdemux.c | ||
tsdemux.h |