[Bug 753657] New: Pbutils fails with WMA caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Aug 15 07:55:08 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753657

            Bug ID: 753657
           Summary: Pbutils fails with WMA caps
    Classification: Platform
           Product: GStreamer
           Version: 1.5.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: Uraeus at linuxrising.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The following examples in Python shows the issue. A 'complete' WMA caps string
seems to make Pbutils fall down.

In [1]: from gi.repository import Gdk, Gio, Gtk, GLib, Gst, GstPbutils

In [2]: Gst.init(None)
Out[2]: []

In [3]: caps = Gst.Caps.from_string("audio/x-wma, channels=(int)[ 1, 2 ],
rate=(int)[ 4000, 96000 ], wmaversion=(int)2, block_align=(int)[ 0, 2147483647
], bitrate=(int)[ 0, 2147483647 ]")

In [4]: print(caps)
<GstCaps at 0x190f320>

In [5]: GstPbutils.pb_utils_get_codec_description(caps)

** (ipython:22858): CRITICAL **: gst_pb_utils_get_codec_description: assertion
'gst_caps_is_fixed (tmp)' failed

--------------------------
A smaller caps works:

In [6]: caps = Gst.Caps.from_string("audio/x-wma, wmaversion=(int)2")
In [7]: GstPbutils.pb_utils_get_codec_description(caps)
Out[7]: 'Windows Media Audio 8'

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