<div dir="ltr">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 <a href="https://bugzilla.gnome.org/show_bug.cgi?id=693055">https://bugzilla.gnome.org/show_bug.cgi?id=693055</a>).<div>
<br></div><div><pre style="padding:0px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:13px"><code> 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) " },"</code></pre></div><div><br></div><div style>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).</div>
<div style><br></div><div style>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?</div>
<div style><br></div><div style><br></div><div style>Thanks.</div></div>