[gst-devel] Seek operation
Eric Zhang
nicolas.m.zhang at gmail.com
Thu Dec 25 10:43:08 CET 2008
Hi, gstreamer-devel:
Did your seek operation succeed? Which state do you seek the pipeline?
PAUSED or PLAYING? Maybe you can describe your steps more clearly.
Eric Zhang
2008/12/24 Sumanth V <sumanth.v at allaboutif.com>
> Hi All,
> I am writing a application which dose a trickmode operation on the
> stored file. When i do PAUSE and then PLAY it resumes play from where i had
> PAUSED. But when i do seek forward by setting the rate to 2.0 / 4.0 FORWARD
> happens but when i press PLAY the play back dose not resume from where i
> pressed PLAY but instead starts playing from offset where i had selected to
> forward.
> To play while forwarding i send this seek event.
>
> gst_element_seek( pipeline, 1.0,GST_FORMAT_TIME ,GST_SEEK_FLAG_FLUSH ,
> GST_SEEK_TYPE_CUR, 0,
> GST_SEEK_TYPE_NONE, -1 );
>
> Is this this the correct seek event format??
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081225/bcf6fac1/attachment.htm>
More information about the gstreamer-devel
mailing list