gstreamer seeking

Wim Taymans wim.taymans at gmail.com
Sat May 7 00:09:50 PDT 2011


On 05/06/2011 08:50 PM, Krakora Randy wrote:
> Here’s what I am doing:
>
> Glib::RefPtr<Gst::Event> seekEvent = Gst::EventSeek::create(1.0,
> Gst::FORMAT_TIME, Gst::SEEK_FLAG_FLUSH,
>
> Gst::SEEK_TYPE_SET, milliseconds*GST_MSECOND,
>
> Gst::SEEK_TYPE_NONE,-1);
>
> std::cout << "Seek Event seq num = " << seekEvent->get_seqnum() <<
> std::endl;
>
> my_pipeline_object->send_event(seekEvent);
>
> I was expecting a Gst::MESSAGE_ASYNC_DONE with a sequence number that
> corresponds to the one set above in the Event, but I never see it,
> although I know the seek completes and seems to work fine, I want to
> know in software when it is done. Is there a way to be notified of this?
> I don’t really want to do a blocking call.

That's a bug, likely some element not passing the seqnum correctly. You 
could file a bug, mentioning the pipeline involved.

Wim

>
> Any help or guidance is appreciated.
>
>
> Regards,
> Randy
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list