mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
scaletempo: Advertise interleaved layout in caps templates
Scaletempo doesn't support non-interleaved layout. Not explicitely stating this would trigger critical warnings and a caps negotiation failure when scaletempo is used as playbin audio-filter. Patch suggested by George Kiagiadakis <george.kiagiadakis@collabora.com>. Fixes #591
This commit is contained in:
parent
7fb8abf8bb
commit
aadfa5f20f
1 changed files with 3 additions and 3 deletions
|
@ -93,9 +93,9 @@ enum
|
|||
|
||||
#define SUPPORTED_CAPS \
|
||||
GST_STATIC_CAPS ( \
|
||||
GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F32)) "; " \
|
||||
GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F64)) "; " \
|
||||
GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (S16)) \
|
||||
GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F32)) ", layout=(string)interleaved; " \
|
||||
GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F64)) ", layout=(string)interleaved; " \
|
||||
GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (S16)) ", layout=(string)interleaved" \
|
||||
)
|
||||
|
||||
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
|
|
Loading…
Reference in a new issue