Need a workaround for broken caps template on level element.

Nox Deleo noxdeleo at googlemail.com
Sat Feb 2 10:28:55 PST 2013


I'm using the level element from plugins-good in a program, and I've come
across an issue with a broken caps template (see bug
https://bugzilla.gnome.org/show_bug.cgi?id=693055).

 GST_STATIC_CAPS ("audio/x-raw, "
        "format = (string) { S8, " GST_AUDIO_NE (S16) ", " GST_AUDIO_NE (S32)
        GST_AUDIO_NE (F32) "," GST_AUDIO_NE (F64) " },"


I can see where the error has come from in source (looks like a missing ",
"), but I'm currently using the GStreamer PPA on Ubuntu for development,
and don't fancy compiling everything from source just to patch this (if I
can help it).

So, I could really use a workaround. I'm thinking maybe I could get the
caps template's from the level element, and then override the caps, but I
guess I'd have to do that for every level element in my pipeline (there's
quite a few). Plus, I've no idea if it'll play nice, since I'd be doing it
in Python. Ideally I'd like to do it once for the level element before I
use it. Anyone know how I'd do this safely, or have any other ideas?


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130202/be0f0971/attachment.html>


More information about the gstreamer-devel mailing list