gstreamer/subprojects/gst-plugins-good/gst/dtmf
Tim-Philipp Müller e4f3ce2459 rtpdtmfdepay: fix caps negotiation with audioconvert
Specify "layout" field in src template to make sure it's
set and gets fixated properly if the downstream element
supports both interleaved and non-interleaved caps.

Fixes

  gst_pad_set_caps: assertion 'caps != NULL && gst_caps_is_fixed (caps)' failed

critical with e.g.

  gst-launch-1.0 rtpdtmfsrc ! rtpdtmfdepay ! audioconvert ! fakesink

Not that the layout really matters in our case since we always
output mono anyway, but non-interleaved requires adding AudioMeta,
so this is the easiest fix.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7268>
2024-07-30 10:42:31 +00:00
..
gstdtmf.c
gstdtmfcommon.h
gstdtmfsrc.c
gstdtmfsrc.h
gstrtpdtmfdepay.c rtpdtmfdepay: fix caps negotiation with audioconvert 2024-07-30 10:42:31 +00:00
gstrtpdtmfdepay.h
gstrtpdtmfsrc.c rtpdtmfsrc: Classify as RTP source 2023-05-09 17:09:22 +01:00
gstrtpdtmfsrc.h
meson.build