gstreamer/subprojects
Alicia Boya García cf2dc2f94c gstreamer: parse: Fix log in gst_parse_perform_link
Suppose you're trying to debug why this pipeline doesn't work:

```
$ GST_DEBUG=GST_PIPELINE:DEBUG gst-launch-1.0 \
    videotestsrc num-buffers=10 ! x264enc name=enc ! mux.sink_0  \
    mpegtsmux name=mux ! fakesink
```

You will encounter this line in the logs:

> gst_parse_perform_link: linking some pad of GstX264Enc named enc to
> pad  mux of GstMpegTsMux named mux (0/1) with caps "(NULL)"

It would seem that the element name is being read as a pad name as well,
and that made me wonder if the parsing was not working. However, it was
just a bug in the code printing that log. This patch fixes that bug.

Note that it is possible to specify more than one pad name for each side
of the link. For instance, the following is a valid pipeline that will
remux the video and audio of an MP4 file into MKV:

```
$ GST_DEBUG=GST_PIPELINE:DEBUG gst-launch \
    filesrc location=input.mp4 ! qtdemux name=demux  \
    multiqueue name=mq  \
    matroskamux name=mux ! filesink location=output.mkv  \
    demux.video_0,audio_0 ! mq.sink_0,sink_1  \
    mq.src_0,src_1 ! mux.video_0,audio_0
```

The new logging accomodates this by using a new utility function to join
strings of pad name lists instead of `PRETTY_PAD_NAME_FMT` (which only
supports one pad name). For example:

> linking pads {video_0, audio_0} of GstQTDemux named demux to pads
> {sink_0, sink_1} of GstMultiQueue named mq with caps "(NULL)"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8415>
2025-02-06 11:20:39 +00:00
..
gst-devtools docs: explicitly list gir files as depends for generating configs 2025-01-20 13:24:44 +01:00
gst-docs video: Add support for big endian DRM formats 2025-02-05 18:56:15 -05:00
gst-editing-services meson: Add python-exe option to override target Python installation 2025-01-28 17:31:12 +00:00
gst-examples Back to development after 1.25.1 2025-01-14 15:00:43 +00:00
gst-integration-testsuites oggdemux: Fix racy decode error 2025-02-04 18:56:25 +00:00
gst-libav avcodecmap: Use gst_value_list_append_and_take_value() in two places 2025-02-03 16:07:37 +00:00
gst-plugins-bad docs: v4l2codecs: Add plugin index documentation 2025-02-06 00:58:01 +00:00
gst-plugins-base video: dma-drm: Extend the format mapping 2025-02-05 18:56:15 -05:00
gst-plugins-good v4l2: object: Use libgstvideo DMA DRM mapping 2025-02-05 18:57:29 -05:00
gst-plugins-ugly meson: use nls option to ENABLE_NLS 2025-02-01 12:27:01 +00:00
gst-python meson: Add python-exe option to override target Python installation 2025-01-28 17:31:12 +00:00
gst-rtsp-server docs: explicitly list gir files as depends for generating configs 2025-01-20 13:24:44 +01:00
gstreamer gstreamer: parse: Fix log in gst_parse_perform_link 2025-02-06 11:20:39 +00:00
gstreamer-sharp csharp: do not format autogenerated code 2025-01-31 19:14:43 -03:00
gstreamer-vaapi meson: bump minimum version to 1.4 in every subprojects 2025-01-17 20:22:34 +01:00
macos-bison-binary
packagefiles subprojects: ntv2: Add check for libudev 2024-12-04 18:29:34 +00:00
webview2 subprojects: webview2: Fix warning with meson 1.4.0 2024-04-13 14:47:29 +00:00
win-flex-bison-binaries
win-nasm
win-pkgconfig
avtp.wrap
cairo.wrap cairo.wrap: Update to 1.18.2 and fix MSYS2 build 2024-11-06 17:20:37 +00:00
dav1d.wrap meson: Declare dav1d dependency in subproject 2024-03-25 10:14:13 +00:00
DirectX-Headers.wrap
directxmath.wrap subprojects: directxmath: Update to 3.1.9 2024-04-02 05:14:53 +09:00
dssim.wrap
dv.wrap
expat.wrap
fdk-aac.wrap
FFmpeg.wrap subprojects: Update ffmpeg to 7.1 2024-11-07 10:38:08 +00:00
flac.wrap flac: Add wrap file and add fallback for it to the flac plugin 2024-04-07 11:12:51 +00:00
fontconfig.wrap
freetype2.wrap
fribidi.wrap
gdk-pixbuf.wrap ci: Add a gdk-pixbuf file-based wrap for gtk4 2024-10-24 15:52:15 +05:30
gl-headers.wrap
glib-networking.wrap subprojects: update glib-networking wrap to 2.78.1 2024-04-03 18:49:08 +00:00
glib.wrap subprojects: update glib wrap to 2.82.2 2024-10-26 14:33:11 +03:00
gobject-introspection.wrap
graphene.wrap
gst-plugins-rs.wrap Back to development after 1.25.1 2025-01-14 15:00:43 +00:00
gtk-sharp.wrap
gtk.wrap meson: Bump gtk4 and pango wraps 2024-08-17 15:00:11 +05:30
harfbuzz.wrap
json-glib.wrap subprojects: add fallback_urls for json-glib and pygobject wraps 2024-11-07 13:43:29 +00:00
lame.wrap
libdrm.wrap libdrm.wrap: Bump to latest 2.4.120 2024-05-29 15:49:45 +00:00
libffi.wrap
libgudev.wrap wraps: libgudev: add fallback uri 2024-07-24 11:44:28 +00:00
libjpeg-turbo.wrap
liblc3.wrap subprojects: update liblc3 wrap to 1.1.1 2024-06-28 13:38:36 +01:00
libmicrodns.wrap
libnice.wrap webrtc: Change requirement to libnice 0.1.22 2024-03-22 08:49:32 +00:00
libopenjp2.wrap meson: Update openjpeg wrap to 2.5.2, fixes a warning 2024-09-10 14:59:36 +00:00
libpng.wrap
libpsl.wrap
libsoup.wrap subprojects: Fix libsoup build on windows with gcc14 2024-08-14 04:34:28 +00:00
libsrtp2.wrap
libva.wrap meson: Fix libva.wrap meson build 2024-06-13 04:48:56 +00:00
libwpe.wrap
libxml2.wrap
ntv2.wrap ntv2: Update to AJA NTV2 SDK 17.1.0 2024-09-27 16:43:37 +00:00
ogg.wrap
openh264.wrap subprojects: update openh264 to 2.4.1 2024-09-08 15:31:27 +00:00
opus.wrap subprojects: bump opus wrap to 1.5.2 2024-06-22 12:26:22 +01:00
orc.wrap subprojects: track orc main branch again 2024-03-05 13:25:19 +00:00
pango.wrap meson: Bump gtk4 and pango wraps 2024-08-17 15:00:11 +05:30
pcre2.wrap
pixman.wrap meson: Bump pixman.wrap to latest version 2024-03-23 13:08:15 +00:00
proxy-libintl.wrap
pycairo.wrap
pygobject.wrap subprojects: add fallback_urls for json-glib and pygobject wraps 2024-11-07 13:43:29 +00:00
soundtouch.wrap pitch: add validate tests 2024-05-02 13:26:09 +02:00
sqlite3.wrap
vorbis.wrap
vpx.wrap subprojects: bump libvpx wrap to 1.14 2024-08-14 04:34:27 +00:00
wayland-protocols.wrap gstwayland: Support wp_single_pixel_buffer_v1 2024-01-22 16:51:36 -05:00
webrtc-audio-processing.wrap webrtcdsp: Bump to WebRTC AudioProcessing 2.1 2025-01-24 15:53:36 -05:00
wpebackend-fdo.wrap
x264.wrap meson: Make wrap downloads smaller 2024-03-23 13:08:15 +00:00
zlib.wrap