gstreamer clock

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer clock

sreerenj

HI,

Is there any way to get some signal or tick from the pipeline depending upon the data transferd?(For example, suppose if i change the streaming server playback rate to twice the actual rate,then i should needs to get some identification from pipeline in each second or inĀ  some periodic manner.)
--
Sreerenj B
[hidden email]
mob: +91 9739469496

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer clock

Stefan Sauer
Am 30.12.2009 08:19, schrieb sreerenj b:
>
> HI,
>
> Is there any way to get some signal or tick from the pipeline depending
> upon the data transferd?(For example, suppose if i change the streaming
> server playback rate to twice the actual rate,then i should needs to get
> some identification from pipeline in each second or in  some periodic
> manner.)

You could use gst_clock_new_periodic_id() together with a gst_clock_id_wait() or
gst_clock_id_wait_async()

Stefan

> --
> Sreerenj B
> [hidden email] <mailto:[hidden email]>
> mob: +91 9739469496
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel