step event doesn't work with GST_FORMAT_DEFAULT

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

step event doesn't work with GST_FORMAT_DEFAULT

mdrio
Hi,
I have this pipeline:

filesrc location=file.avi ! decodebin ! xvimagesink

I would like to step through the video frame by frame.  I' m using the python wrapper. I tried with:

gst.event_new_step(gst.FORMAT_DEFAULT, 1,1, True, False) 

It doesn't work. The step-done message returns:
(<enum GST_FORMAT_DEFAULT of type GstFormat>, 1L, 1.0, True, False, 0L, True)

So it seems the end of file has been reached. I assume GST_FORMAT_DEFAULT stands for frames, is it correct?  
Using gst.FORMAT_TIME it works fine.  Any ideas?

--
Mauro

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel