[gst-devel] regarding negative playback rates in seek

Jyoti jyoti.d at allaboutif.com
Fri Apr 17 14:43:13 CEST 2009


Hi all,

I am writing an application to play a video file at different playback
rates.
I am able to seek and play with positive playback rates > 1.0 (normal
playback speed).
But am not able to play video at negative playback rates(say -*2.0*).*
*The arguments I set in gst_element_seek are as below.

-- cur_pos is the position from where i want to seek.
*
*        gst_element_seek (pipeline, -1.0 , GST_FORMAT_TIME,
                          GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT,
                          GST_SEEK_TYPE_SET, 0,
                          GST_SEEK_TYPE_SET, cur_pos);

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090417/741606e7/attachment.htm>


More information about the gstreamer-devel mailing list