gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Matt Crane b11169bd32 rtpbasedepayload: Drop redundant reference timestamp buffer meta in RTP depayloaders
Currently, when rtspsrc property add-reference-timestamp-metadata=true,
a downstream rtph264depay element will attach multiple copies of the
same GstReferenceTimestampMeta to the depayloaded media buffers. This
can have signficant performance impacts further downstream in a pipeline
like the following:

    rtspsrc add-reference-timestamp-metadata=true ! rtph264depay ! h264parse ! ... ! rtph264pay ! ...

For example, if there are 10 packet buffers for a frame of RTP H.264
video, each of those packet buffers will contain the same reference
timestamp meta. The rtph264depay element will then attach all 10
metadata to the depayloaded frame. And then later when we payload the
frame buffer again for proxying, we now have 10 more buffers each with
10 instance of the same metadata. Allocating/deallocating 100+ instances
of metadata @ 30fps for multiple streams has a pretty large performance
impact.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1578

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3431>
2022-11-19 07:57:44 +00:00
..
allocators allocators: Add/fix various annotations 2022-10-18 13:51:17 +03:00
app core/base: Only post latency messages if the latency values have actually changed 2022-10-27 15:25:22 +00:00
audio aggregator: Implement force_live API 2022-11-18 18:14:26 +00:00
fft meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
gl video: Add arbitrary tile dimensions support 2022-11-18 22:59:29 +00:00
pbutils pbutils: Fix vp9 mime mapping when caps when no chroma-site. 2022-11-16 01:29:50 +00:00
riff riff: Mark jpeg as parsed 2022-10-13 13:53:29 -04:00
rtp rtpbasedepayload: Drop redundant reference timestamp buffer meta in RTP depayloaders 2022-11-19 07:57:44 +00:00
rtsp Fix various warnings from gobject-introspection 2022-10-25 09:45:25 +03:00
sdp Fix various warnings from gobject-introspection 2022-10-25 09:45:25 +03:00
tag tag: Add/fix various annotations 2022-10-18 13:51:17 +03:00
video video-frame: Avoid using tile width 2022-11-18 22:59:29 +00:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00