Issue with caps from string in only one case

Max Sarajlija maksimilijans at
Sat Jul 27 07:32:27 PDT 2013

As i said in an earlier mail i'm porting Flumotion to the new GStreamer (in
I got into some trouble with the video test producer, here's a function
which was before i started porting

and here's the same one adapted for the new GStreamer:

Here's the problem:

I get an error regarding this line:

Saying 'NoneType' object has no attribute 'split'

Pipeline get's updated every time with another string and i figured it gets
a None value in one of those times, so i printed pipeline and found out
that that's true.
It gets a none value when it's time to parse the video test producer
So i wen't to the function in (which i gave a link for above)
and printed capsString. In return i got:

videotestsrc is-live=true name=source ! identity name=identity silent=TRUE
! video/x-raw format=(string)I420 width=320 height=240
framerate=(fraction)5/1 pixel-aspect-ratio=(fraction)1/1

Then after 'caps = Gst.Caps.from_string(capsString)' i tried 'print
caps.to_string()' and i got nothing.

So i figure the problem must be when converting the string (capsString) to
a Caps object.

Does anyone know how dos can be fixed and what's going on?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list