[gst-devel] How to seek with a negative rate?

Markus Becker chckbck at googlemail.com
Wed Oct 14 11:59:43 CEST 2009


Hi,
I try to implement fast forward and fast rewind in a C++ application.
Fast forward is no problem, but with fast rewind I get problems:

My code for seeking:

Glib::RefPtr<Gst::Event> event = 
Gst::EventSeek::create(-1.0,Gst::FORMAT_TIME,
         Gst::SEEK_FLAG_NONE, Gst::SEEK_TYPE_SET, 0,
         Gst::SEEK_TYPE_NONE, current_pos);

I use a playbin2 element for playback.

Any hints?

Best regards,
Markus




More information about the gstreamer-devel mailing list