gstreamer/subprojects/gst-plugins-bad/gst/mpegtsdemux
Edward Hervey 0ff569d408 tsdemux: Handle "negative" timestamps
This is only enabled in push time mode. Furthermore it's only enabled for now if
PCR is to be ignored.

The problem is dealing with streams where the initial PTS/DTS observation might
be greater than following ones (from other PID for example). Before this patch,
this would result in sending buffers without any timestamp which would cause a
wide variety of issues.

Instead, pad segment and buffer timestamps with an extra
value (packetizer->extra_shift, default to 2s), to ensure that we can get valid
timestamps on outgoing buffers (even if that means they are before the segment
start).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1179>
2021-10-18 11:23:25 +00:00
..
gstmpegdefs.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstmpegdesc.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gsttsdemux.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
mpegtsbase.c tsdemux: Handle delayed seek events 2021-10-14 21:45:00 +00:00
mpegtsbase.h tsdemux: Handle delayed seek events 2021-10-14 21:45:00 +00:00
mpegtspacketizer.c tsdemux: Handle "negative" timestamps 2021-10-18 11:23:25 +00:00
mpegtspacketizer.h tsdemux: Handle "negative" timestamps 2021-10-18 11:23:25 +00:00
mpegtsparse.c mpegtsparse: Don't assert the packet_size when filling for EOS 2021-10-05 09:38:27 +00:00
mpegtsparse.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
pesparse.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
pesparse.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
TODO Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
tsdemux.c tsdemux: Handle "negative" timestamps 2021-10-18 11:23:25 +00:00
tsdemux.h tsdemux: Handle delayed seek events 2021-10-14 21:45:00 +00:00