gstreamer/gst
Jan Alexander Steffens (heftig) 9b2ed3a3fc mpegtsdemux: Close a buffer leak and simplify input_done
tsparse leaked input buffers quite badly:

    GST_TRACERS=leaks GST_DEBUG=GST_TRACER:9 gst-launch-1.0 audiotestsrc num-buffers=3 ! avenc_aac ! mpegtsmux ! tsparse ! fakesink

The input_done vfunc was passed the input buffer, which it had to
consume. For this reason, the base class takes a reference on the buffer
if and only if input_done is not NULL.

Before 34af8ed66a, input_done was used in
tsparse to pass on the input buffer on the "src" pad. That commit
changed the code to packetize for that pad as well and removed the use
of input_done.

Afterwards, 0d2e908523 set input_done
again in order to handle automatic alignment of the output buffers to
the input buffers. However, it ignored the provided buffer and did not
even unref it, causing a leak.

Since no code makes use of the buffer provided with input_done, just
remove the argument in order to simplify things a bit.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1274>
2020-05-18 14:11:40 +00:00
..
accurip remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
adpcmdec Remove autotools build system 2019-10-14 13:54:27 +01:00
adpcmenc Remove autotools build system 2019-10-14 13:54:27 +01:00
aiff Remove autotools build system 2019-10-14 13:54:27 +01:00
asfmux asfmux: Fix typo in property description 2020-03-12 18:38:11 +01:00
audiobuffersplit audiobuffersplit: Perform discont tracking on running time 2020-05-11 07:25:39 +00:00
audiofxbad Remove autotools build system 2019-10-14 13:54:27 +01:00
audiolatency Remove autotools build system 2019-10-14 13:54:27 +01:00
audiomixmatrix Remove autotools build system 2019-10-14 13:54:27 +01:00
audiovisualizers documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
autoconvert autoconvert: fix compiler warnings with g_atomic on recent GLib versions 2020-05-01 14:50:58 +01:00
bayer documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
camerabin2 Don't pass default GLib marshallers for signals 2019-11-06 14:27:46 +00:00
coloreffects Remove autotools build system 2019-10-14 13:54:27 +01:00
debugutils clockselect: Add TAI clock support 2020-04-30 19:21:37 +00:00
dvbsuboverlay documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
dvdspu documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
faceoverlay Remove autotools build system 2019-10-14 13:54:27 +01:00
festival documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
fieldanalysis Remove autotools build system 2019-10-14 13:54:27 +01:00
freeverb Remove autotools build system 2019-10-14 13:54:27 +01:00
frei0r documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gaudieffects documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gdp Remove autotools build system 2019-10-14 13:54:27 +01:00
geometrictransform documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
id3tag documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
inter Remove autotools build system 2019-10-14 13:54:27 +01:00
interlace interlace: add alternate support 2020-03-24 09:57:53 +01:00
ivfparse documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
ivtc Remove autotools build system 2019-10-14 13:54:27 +01:00
jp2kdecimator Remove autotools build system 2019-10-14 13:54:27 +01:00
jpegformat documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
librfb bad: use of g_value_dup_string 2019-12-30 14:13:03 +00:00
midi Remove autotools build system 2019-10-14 13:54:27 +01:00
mpegdemux mpegdemux: Add ignore-scr property to ignore broken SCR 2020-03-11 21:06:20 +09:00
mpegpsmux documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
mpegtsdemux mpegtsdemux: Close a buffer leak and simplify input_done 2020-05-18 14:11:40 +00:00
mpegtsmux mpegtsmux: detect and ignore gap buffers 2020-05-12 12:18:28 -04:00
mxf mxfdemux: add support for Apple ProRes 2020-01-15 11:51:20 +00:00
netsim documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
onvif onviftimestamp: Add missing break in set_property() 2020-05-10 11:17:19 +03:00
pcapparse documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
pnm documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
proxy Remove autotools build system 2019-10-14 13:54:27 +01:00
rawparse Remove autotools build system 2019-10-14 13:54:27 +01:00
removesilence documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
rist ristrtpdeext: Expose the largest sequence number received 2020-04-30 18:31:32 +00:00
rtmp2 rtmp2: Avoid a deadlock when getting stats 2020-04-08 18:41:01 +02:00
rtp rtpmanagerbad: fix two minor memory leaks 2020-02-21 12:16:28 +01:00
sdp sdpdemux: don't send EOS for unknown SSRC 2020-04-08 13:24:34 +00:00
segmentclip Remove autotools build system 2019-10-14 13:54:27 +01:00
siren Remove autotools build system 2019-10-14 13:54:27 +01:00
smooth Remove autotools build system 2019-10-14 13:54:27 +01:00
speed Remove autotools build system 2019-10-14 13:54:27 +01:00
subenc Remove autotools build system 2019-10-14 13:54:27 +01:00
switchbin switchbin: Free path objects on finalize 2019-11-13 10:15:32 +00:00
timecode timecodestamper: Unref latency query after usage 2020-05-06 20:05:06 +03:00
transcode transcodebin: fix caps NULL unref 2020-04-16 16:17:56 +00:00
videofilters Remove autotools build system 2019-10-14 13:54:27 +01:00
videoframe_audiolevel Remove autotools build system 2019-10-14 13:54:27 +01:00
videoparsers h264/h265parse: Fix initial skip 2020-05-07 12:08:36 -04:00
videosignal Remove autotools build system 2019-10-14 13:54:27 +01:00
vmnc remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
y4m Remove autotools build system 2019-10-14 13:54:27 +01:00
yadif yadif: Re-renable MMX asm on x86_64 with meson 2020-01-19 08:50:19 +00:00
meson.build switchbin: Initial checkin 2019-11-13 10:15:31 +00:00