[Bug 726098] New: sbcenc: Allow user to set channel-mode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 11 02:44:18 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=726098
  GStreamer | gst-plugins-bad | 1.2.3

           Summary: sbcenc: Allow user to set channel-mode
    Classification: Platform
           Product: GStreamer
           Version: 1.2.3
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurelien.zanelli at parrot.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=271511)
 View: https://bugzilla.gnome.org/attachment.cgi?id=271511
 Review: https://bugzilla.gnome.org/review?bug=726098&attachment=271511

sbcenc: Allow user to set channel-mode

Currently, we can't set channel-mode to sbcenc.
Following pipeline resunt in negotiation error:
gst-launch audiotestsrc ! sbcenc ! audio/x-sbc,channels=2,channel-mode=stereo !
fakesink

Log is
gst_sbc_enc_set_format:<sbcenc0> fixating caps audio/x-sbc, rate=(int)44100,
channels=(int)2, channel-mode=(string)stereo, blocks=(int){ 4, 8, 12, 16 },
subbands=(int){ 4, 8 }, allocation-method=(string){ snr, loudness },
bitpool=(int)[ 2, 64 ]
gst_sbc_enc_set_format:<sbcenc0> Failed to fixate channel-mode for 2 channels

I suggest to allow user to set channel mode and check if value is correlated
with channels number and don't return error if value is already set.

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