[gst-devel] VIDIOC_S_CTRL with GStreamer

Yiliang Bao yiliangb at gmail.com
Mon Mar 22 04:48:32 CET 2010


John,

Try this header:
#include <linux/videodev2.h>

Yiliang

On Sun, Mar 21, 2010 at 8:38 PM, John Buckley <buckleyassoc at comcast.net>wrote:

> Yiliang,
> I found a great example using the V4L2_CID_EXPOSURE control.  My problem
> is, I can't find any info on what headers to include that would define the
> V4L2_CID_ZOOM_RELATIVE, ABSOLUTE & CONTINUOUS controls.
>
> Does anyone know where those CIDs are defined?
> -Thanks in advance,
> John Buckley
>
>
> ----- "Yiliang Bao" <yiliangb at gmail.com> wrote:
> > Hi John, Yes, you can do this. You can open another file on the same
> device using following
> > function, even if the device is already streaming video.
> > fd = open (videoDevName, O_RDWR /* required */ | O_NONBLOCK, 0);
>
> > Usually it is allowed by the v4l2 driver, as long as you are not trying
> to stream video in the
> > second opened instance.
> >  -Yiliang
>
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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/20100321/8854ac46/attachment.htm>


More information about the gstreamer-devel mailing list