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

Stefan Kost ensonic at hora-obscura.de
Thu Oct 22 17:22:04 CEST 2009


Markus Becker schrieb:
> 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
>
>   
With ogg its supposed to work. if in doubt check bugzilla and file a
bug. Attach the file if possible.

Stefan




More information about the gstreamer-devel mailing list