Some final fixes for the v4lsrc elements. remove software sync thread (use GST_ELEMEN...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Wed, 21 May 2003 06:33:18 +0000 (06:33 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Wed, 21 May 2003 06:33:18 +0000 (06:33 +0000)
commite767ac4c48395b504279d5dd220f78d4ebbe174c
tree87584206fdbde114b271a1ca782a46de0e508647
parent40998b3018e1eca6ffc1ae8a36766456222db100
Some final fixes for the v4lsrc elements. remove software sync thread (use GST_ELEMENT_THREAD_SUGGESTED instead) make...

Original commit message from CVS:
Some final fixes for the v4lsrc elements.

* remove software sync thread (use GST_ELEMENT_THREAD_SUGGESTED instead)
* make all src elements threadsafe
* fix num_buffer argument setting in v4l2src (VIDIOC_S_PARM)
* re-add bufsize (RO) for v4lmjpegsrc
* fix the A/V sync calculation in all elements (spvf=GST_SECOND/fps, not GST_SECOND*fps)
* probably some more crap....

With all this, it actually works quite well. The TODO files describes the
next steps in order to make a full-featured video recorder based on these
elements and GStreamer (bottom). Making a simple recorder should be fairly
easy now, btw.
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2src.h
sys/v4l2/v4l2src_calls.c
sys/v4l2/v4l2src_calls.h