step event doesn't work with GST_FORMAT_DEFAULT

Mauro Del Rio mdrio1980 at gmail.com
Thu Nov 8 09:45:34 PST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121108/b34f1358/attachment.html>


More information about the gstreamer-devel mailing list