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)
commit6ba3abb3a5e5e9de632a896a487fef8d46c5352e
tree76325519d153d95e3ca73372899201123ba242c4
parente5d05269ffad827e8a87429d17b0eac5c19ace51
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/v4l/TODO
sys/v4l/gstv4lmjpegsrc.c
sys/v4l/gstv4lmjpegsrc.h
sys/v4l/gstv4lsrc.c
sys/v4l/gstv4lsrc.h
sys/v4l/v4lmjpegsrc_calls.c
sys/v4l/v4lsrc_calls.c