[gstreamer-bugs] [Bug 547258] Failed to retrieve channel layout from caps.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Aug 20 10:17:47 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=547258

  GStreamer | don't know | Ver: 0.10.18

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|slomo at circular-chaos.org    |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.11




------- Comment #7 from Sebastian Dröge  2008-08-20 17:17 UTC -------
Ok, this is fixed in CVS now.

Usually you should provide a channel layout after pulsesrc to make things work
but now it will get a default channel layout from pulseaudio if possible and
uses that if none is given by the downstream caps. This will fail in some
situations though if pulseaudio doesn't have a default layout for a given
number of channels ;)

So better specify which channels you want at which positions :)

2008-08-20  Sebastian Dröge  <sebastian.droege at collabora.co.uk>

        * ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init),
        (gst_pulsesrc_create_stream), (gst_pulsesrc_negotiate),
        (gst_pulsesrc_prepare):
        * ext/pulse/pulseutil.c: (gst_pulse_gst_to_channel_map),
        (gst_pulse_channel_map_to_gst):
        * ext/pulse/pulseutil.h:
        If downstream provides no channel layout and >2 channels should be 
        used use the default layout that pulseaudio chooses and also
        add this layout to the caps. Fixes bug #547258.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=547258.




More information about the Gstreamer-bugs mailing list