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

Stefan Kost ensonic at hora-obscura.de
Wed Oct 14 17:02:02 CEST 2009


Markus Becker schrieb:
> 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.
>   
this is not supported by all demuxers yet. What have you been using?

Stefan

> Any hints?
>
> Best regards,
> Markus
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list