gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Mathieu Duponchelle a03db32bbe rtpbasepayload: always store input buffer meta before negotiation
The decision to store the input buffer depends on whether extensions
are to be added to the output buffer, I assume as an optimization.

This creates an issue for subclasses that call negotiate(), where
header_exts is actually populated, from their handle_buffer()
implementation: at chain time, no header extension has been negotiated
yet, which means that we don't add extensions to the first batch of
buffers that comes out.

Keep track of whether negotiate has been called (this is different
from the negotiated field) and always store the input buffer until
then. This fixes the issue while largely preserving the optimization.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2304>
2022-04-27 08:43:30 +00:00
..
allocators gst-plugins-base: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
app appsrc: fix annotations 2022-04-15 23:49:40 +00:00
audio Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
fft gst-plugins-base: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
gl Meson: Fix deprecation warnings 2022-04-23 00:33:00 +00:00
pbutils Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
riff riff-media: fix memory leak after usage for g_strjoin 2022-04-07 20:36:42 +00:00
rtp rtpbasepayload: always store input buffer meta before negotiation 2022-04-27 08:43:30 +00:00
rtsp gst-plugins-base: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
sdp sdp: Parse the RFC5576 Source-specific media SDP attributes into caps 2022-04-20 14:40:25 +00:00
tag Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
video videoaggregator: keep old buffer when processing a MISSING_DATA gap 2022-04-22 17:43:50 +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