[gst-devel] Regarding Seek events.

Sameer Naik sameer.subscriptions at damagehead.com
Wed Dec 10 07:41:12 CET 2008


On Tuesday 09 December 2008 23:46:42 Michael Smith wrote:
> On Tue, Dec 9, 2008 at 4:26 AM, Sumanth V <sumanth.v at allaboutif.com> wrote:
> > But if i want to perform PAUSE operation can i do that by setting the
> > rate to 0.0, is this allowed. I dont want PAUSE
> > the whole pipeline, since i want the LIVE data to be read by the file
> > source and this data has to be stored by my
> > plugin .
> > How can i achive the PAUSE operation with out PAUSING the whole pipeline.
>
> Setting rate to 0 is not permitted. Pausing the pipeline is the right
> thing to do - and does exactly what you want.
>
> When paused, the sinks (e.g. audio and video sinks) do not play any
> audio/video, but the rest of the pipeline continues to run - queues
> fill up, etc. For your use-case, this should work fine - your filesrc
> and your new element will behave identically in paused and playing.

Are you implying that though the state of the pipeline is set to PAUSED, the 
filesrc will continue providing data to its peer. Is this the default behaviour 
of the plugin?  Because if it is, then when a pipeline is in PAUSED state then 
an application would still be doing quite a lot of processing and also hogging 
the memory resources.
Please comment

Regards
~Sameer

>
> Mike
>
> ---------------------------------------------------------------------------
>--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada. The future of the web can't happen without you.  Join us at MIX09
> to help pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com
>/ _______________________________________________
> 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/20081210/2b366b72/attachment.htm>


More information about the gstreamer-devel mailing list