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

Markus Becker chckbck at googlemail.com
Wed Oct 14 21:19:54 CEST 2009


Am 14.10.2009 17:02 schrieb Stefan Kost:
> 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
> 

Because of using playbin2 as pipeline, I don't really know (and care) 
which demuxer I use.
I tried backward seeking with ogg and mp3 files.
Or do I misunderstand something fundamentally wrong?

Markus


>> 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
>>   
> 
> 
> ------------------------------------------------------------------------------
> 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