gstreamer/gst-libs/gst
Guillaume Desmottes b7c1810aa3 audioaggregator: fix input_buffer ownership
The way pad->priv->input_buffer reference was managed was pretty
spurious:
- it was overridden without unrefing it, which could potentially lead to
  leaks.
- we were unreffing it while keeping the pointer around, which could
  potentially lead to use-after-free or double-free.

As priv->input_buffer is actually no longer used outside of the
aggregate() method, remove it from pad->priv to simplify the code and
prevent the issues desribed above.

Fix a single buffer leak when shutting down the pipeline as the buffer
returned from gst_aggregator_pad_drop_buffer() was never unreffed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1061>
2021-03-10 16:38:03 +01:00
..
allocators fdmemory: Allow for change of protection mode 2020-10-28 17:11:05 +00:00
app appsrc: fix signal documentation 2020-12-31 17:01:40 +00:00
audio audioaggregator: fix input_buffer ownership 2021-03-10 16:38:03 +01:00
fft Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
gl gl/dispmanx: assign render_rect to window before window_resize 2021-03-02 09:13:25 +01:00
pbutils encoding-profile: Plug a leak of factory list 2021-02-10 15:56:26 +00:00
riff Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
rtp rtpbasedepayload: add auto-header-extension property 2021-02-03 11:23:40 +01:00
rtsp gstrtspconnection: correct data_size when tunneled mode 2021-02-25 12:21:53 +01:00
sdp Meson: Use pkg-config generator 2020-10-23 11:19:11 -04:00
tag tagdemux: resize and trim buffer in place to fix interaction with oggdemux 2021-01-04 14:21:43 +00:00
video video-converter: Don't upsample/downsample/dither invalid lines 2021-02-23 03:40:12 +00:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
meson.build meson: Add feature options for all plugins 2018-07-27 18:42:11 +05:30