gstreamer/gst/mpegdemux
Sebastian Dröge 5f95a9ec61 mpegpsdemux: Send gap events for late streams whenever updating the SCR
Instead of doing it on each packet and doing it based on the distance to
the previous SCR instead of based on the DTS.

Previously we would send gap events for audio all the time if the SCR
distance was 400ms because the threshold for audio is 300ms and by only
ever updating the position when the SCR updates we would always be 100ms
above the threshold and send needless gap events.

This fixes audio glitches on various files caused by gap events.
2020-01-21 10:08:53 +00:00
..
gstmpegdefs.h mpegdemux: add support for H.265 2019-01-24 09:35:06 +00:00
gstmpegdemux.c mpegpsdemux: Send gap events for late streams whenever updating the SCR 2020-01-21 10:08:53 +00:00
gstmpegdemux.h mpegdemux: namespace fixes 2014-11-02 22:46:49 +00:00
gstpesfilter.c remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
gstpesfilter.h Fix FSF address 2012-11-04 00:09:59 +00:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00
plugin.c mpegdemux: namespace fixes 2014-11-02 22:46:49 +00:00