[Bug 690267] New: interleave: negotiation failure on sinkpads when channel-mask is specified

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Dec 15 09:23:41 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=690267
  GStreamer | gst-plugins-good | git

           Summary: interleave: negotiation failure on sinkpads when
                    channel-mask is specified
    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: ---


GST_DEBUG=interleave:4,wavparse:3 gst-launch-1.0 interleave name=i !
audioconvert ! wavenc ! filesink location=file.wav  filesrc location=mono.wav !
decodebin  ! "audio/x-raw, channels=(int)1, rate=(int)44100,
layout=(string)interleaved, format=(string)F32LE,
channel-mask=(bitmask)0x0000000000000001" ! audioconvert ! queue ! i.   filesrc
location=mono.wav ! decodebin ! "audio/x-raw, channels=(int)1, rate=(int)44100,
layout=(string)interleaved, format=(string)F32LE,
channel-mask=(bitmask)0x0000000000000002" ! audioconvert ! queue ! i.

0:00:00.063537894 32410  0x9aabf80 WARN              interleave
interleave.c:290:gst_interleave_set_channel_positions:<i> Invalid channel
positions, using NONE
0:00:00.065703846 32410  0x9bcb320 WARN                wavparse
gstwavparse.c:2386:gst_wavparse_loop:<wavparse1> error: Internal data flow
error.
0:00:00.065723740 32410  0x9bcb320 WARN                wavparse
gstwavparse.c:2386:gst_wavparse_loop:<wavparse1> error: streaming task paused,
reason not-negotiated (-4)

I think this is because interleave sets its src pad caps once only when it
receives the CAPS event. In this case it attempts to set caps for a stereo
stream with pos[0]=0x0000000000000001 and pos[1]=NONE and fails.

I wonder if we should set the src pad caps when we receive the last CAPS event
instead.

-- 
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