[gst-devel] facing problem using GST_SEEK_TYPE_CUR in gst_element_seek

Sanjay Gupta sanjayg417 at gmail.com
Thu May 17 12:29:09 CEST 2007


Hi,
I want to fast forward the audio playback at rate 2.0 from the point when I
pressed the Forward button.
To do this, I am doing the following:
gst_element_seek (pipeline, 2.0, GST_FORMAT_TIME,
                                GST_SEEK_FLAG_FLUSH,
                                GST_SEEK_TYPE_CUR, //change relative to
current position
                                0, // The value of the new current position
                                GST_SEEK_TYPE_NONE,
                                GST_CLOCK_TIME_NONE);
But it starts audio playback from the begining.
Can someone point out what is wrong in this?

Thanks a lot in advance.
Regards,
Sanjay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070517/10671b9f/attachment.htm>


More information about the gstreamer-devel mailing list