[Bug 733866] New: interleave: caps negotiation fails when input caps have non-interleaved layout
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jul 28 07:32:02 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=733866
GStreamer | gst-plugins-good | git
Summary: interleave: caps negotiation fails when input caps
have non-interleaved layout
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: phil at base-art.net
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
This fails:
gst-launch-1.0 interleave name=i ! audioconvert ! pulsesink audiotestsrc !
audioconvert ! "audio/x-raw, format=(string)F32LE,
layout=(string)non-interleaved, rate=(int)44100, channels=(int)1,
channel-mask=(bitmask)0x0000000000000001" ! queue ! i.sink_0 audiotestsrc !
audioconvert ! "audio/x-raw, format=(string)F32LE,
layout=(string)non-interleaved, rate=(int)44100, channels=(int)1,
channel-mask=(bitmask)0x0000000000000002" ! queue ! i.sink_1
but changing input layout to interleaved on the capsfilters make it work. This
is because gst_interleave_sink_setcaps() doesn't properly set the layout field
of the caps, it reuses the layout of the caps event. I think the layout should
be unconditionally set to interleaved there :)
I'll try to provide a unit-test along with the patch.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list