support reverse playback by negative rates such as -1,-2,-4??

zwresh zwresh at 126.com
Wed Jun 1 01:23:32 PDT 2011



it seems that the gstreamer can't support to reverse playback by negative playback rates such as  -1,-2,-4.

The arguments I set in gst_element_seek are as below.
        gst_element_seek (pipeline,
                                        -2.0 ,
                                       GST_FORMAT_TIME,
                                       GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT,
                                       GST_SEEK_TYPE_SET,
                                       0,
                                       GST_SEEK_TYPE_SET,
                                       cur_pos);
-- cur_pos is the position from where i want to seek.

Can anybody help me ???

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110601/cf88e1f8/attachment.htm>


More information about the gstreamer-devel mailing list