gstreamer/subprojects
Sanchayan Maity 673d13f176 playbin3: Fix missing pad unref
GST_TRACERS="leaks" GST_DEBUG="GST_TRACER:7,leaks:6" gst-play-1.0 --use-playbin3 test.mkv

When running a pipeline like above, leaks are observed.

0:00:56.882419132 240637 0x5562c528ccc0 TRACE             GST_TRACER :0:: object-alive, type-name=(string)GstConcatPad, address=(gpointer)0x7efd7c0d20a0, description=(string)<'':sink_0>, ref-count=(uint)1, trace=(string);
0:00:56.882429131 240637 0x5562c528ccc0 TRACE             GST_TRACER :0:: object-alive, type-name=(string)GstConcatPad, address=(gpointer)0x7efd7c0d2be0, description=(string)<'':sink_0>, ref-count=(uint)1, trace=(string);
0:00:56.882437056 240637 0x5562c528ccc0 TRACE             GST_TRACER :0:: object-alive, type-name=(string)GstConcatPad, address=(gpointer)0x7efd7c0d3720, description=(string)<'':sink_0>, ref-count=(uint)1, trace=(string);

gst_element_release_request_pad does not unref the pad. It needs to
be followed by gst_object_unref. Doing that fixes the above leaks.

Use g_ptr_array_new_with_free_func with gst_object_unref as the free
function to unref the pad after release.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3177>
2022-10-28 10:15:42 +05:30
..
gst-devtools validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-docs nvcodec: Update for documentation 2022-10-24 12:42:51 +00:00
gst-editing-services build: Fix building ges with tools disabled 2022-10-25 08:53:19 +00:00
gst-examples meson: Fix path for webrtc validate tests 2022-10-26 18:16:25 +00:00
gst-integration-testsuites dashdemux2: Fix the way we determine current_position after seeks 2022-10-27 19:45:44 +00:00
gst-libav avdec_h265: Fix endless renegoation with alternate interlacing 2022-10-27 13:34:48 +00:00
gst-omx Back to development 2022-10-04 03:57:31 +01:00
gst-plugins-bad vp9parser: initialize subsampling to -1 2022-10-28 00:06:07 +00:00
gst-plugins-base playbin3: Fix missing pad unref 2022-10-28 10:15:42 +05:30
gst-plugins-good mp4mux: enable muxing VP9 streams 2022-10-28 00:06:07 +00:00
gst-plugins-ugly xingmux: move from gst-plugins-ugly to gst-plugins-good 2022-10-25 12:40:20 +00:00
gst-python Back to development 2022-10-04 03:57:31 +01:00
gst-rtsp-server Fix various warnings from gobject-introspection 2022-10-25 09:45:25 +03:00
gstreamer core/base: Only post latency messages if the latency values have actually changed 2022-10-27 15:25:22 +00:00
gstreamer-sharp Back to development 2022-10-04 03:57:31 +01:00
gstreamer-vaapi h265parse: fix typo in member of GstH265SPS 2022-10-04 10:01:12 +00:00
macos-bison-binary
packagefiles/pango-1.48.11
win-flex-bison-binaries meson: Use run_command check: true for windows binary subprojects 2022-10-19 04:05:05 +00:00
win-nasm meson: Use run_command check: true for windows binary subprojects 2022-10-19 04:05:05 +00:00
avtp.wrap
bindinator.wrap
cairo.wrap subprojects: cairo: bump to 1.17.6 2022-09-17 22:41:40 +00:00
dav1d.wrap
dssim.wrap
dv.wrap
expat.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
fdk-aac.wrap
FFmpeg.wrap
fontconfig.wrap subprojects: fontconfig: bump to 2.14.0 2022-09-17 22:41:40 +00:00
freetype2.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
fribidi.wrap subprojects: fribidi: bump to 1.0.12 2022-09-17 22:41:40 +00:00
gl-headers.wrap
glib-networking.wrap subprojects: glib, glib-networking: bump to 2.72 2022-09-17 22:41:40 +00:00
glib.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
graphene.wrap
gst-plugins-rs.wrap gst-plugins-rs: Track 0.9 branch until 1.22 release 2022-10-27 21:30:09 +00:00
gtk-sharp.wrap
harfbuzz.wrap subprojects: harfbuzz: bump to 5.2.0 2022-09-17 22:41:40 +00:00
json-glib.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
lame.wrap
libdrm.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
libffi.wrap
libjpeg-turbo.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
libmicrodns.wrap subprojects: libmicrodns: bump to 0.2.0 + meson fixes 2022-09-17 22:41:40 +00:00
libnice.wrap
libopenjp2.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
libpng.wrap
libpsl.wrap
libsoup.wrap meson: Update libsoup.wrap 2022-10-11 14:53:40 -04:00
libwpe.wrap
libxml2.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
ogg.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
openh264.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
opus.wrap
orc.wrap meson: Add a new option to control the source for orc 2022-09-22 22:31:21 +00:00
pango.wrap subprojects: pango: bump to 1.50.10 2022-09-17 22:41:40 +00:00
pixman.wrap
proxy-libintl.wrap
pycairo.wrap
pygobject.wrap
sqlite3.wrap Update all wraps from WrapDB 2022-09-23 11:08:06 -04:00
vorbis.wrap
webrtc-audio-processing.wrap
wpebackend-fdo.wrap
x264.wrap
zlib.wrap