[gst-devel] video clocking

ved kpl ved.kpl at gmail.com
Mon Oct 12 18:18:29 CEST 2009


Hi,

Since your plugin is video src, You can set the appropriate latency,
(query_latency)
for capturing the video frames. and put a queue after the source.

You can have a look at v4l2src code for the latency query.





On Mon, Oct 12, 2009 at 8:53 PM, Thomas Andrews <tandrews at grok.co.za> wrote:
> Hi,
>
> I'm looking for an example of how to correctly implement a clock source.
>
> I have written a basic plugin for a camera, and I'm able to display a
> frame from it, but what I (believe) I need to do is to make my plugin
> supply the clock for the rest of the system.
>
> My existing implementation evidently takes too long to supply a frame,
> so even though I supply images, the screen does not change to reflect
> the latest frame delivered. Only the first frame is displayed. (If I
> just update the pixels manually and quickly return the frame, then the
> new frame becomes visible, so I am assuming that it is the delay
> introduced that is the problem.)
>
> Can anyone point me to an example of how to make my plugin act as a
> clock source?
>
> Many thanks,
> Thomas
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list