regarding negative playback rates in seek

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

regarding negative playback rates in seek

Jyoti-2
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.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel