gstreamer/sys/v4l
Andy Wingo 1b35856376 sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the caps being set doesn't have a framerate value. Basic...
Original commit message from CVS:
2006-01-31  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the
caps being set doesn't have a framerate value. Basically a stopgap
measure.

* ext/ogg/gstoggmux.c (GST_BUFFER_END_TIME): New macro. Not
technically correct enough to put into core though.
(gst_ogg_mux_dequeue_page): Use END_TIME instead of TIMESTAMP +
DURATION. Fixes theoraenc ! oggmux.

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_fixate): Fixate to the nearest
fraction, not double.
2006-01-31 15:36:13 +00:00
..
.gitignore add cvsignores 2003-09-11 19:17:01 +00:00
gstv4l.c restructure configure.ac, use correct libtool LDFLAGS, fix up defines 2005-10-16 13:54:44 +00:00
gstv4lcolorbalance.c compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends 2004-08-03 16:06:08 +00:00
gstv4lcolorbalance.h expand tabs 2005-12-06 19:42:02 +00:00
gstv4lelement.c Updates for two-arg init from GST_BOILERPLATE_FULL. 2005-08-28 17:52:45 +00:00
gstv4lelement.h sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4ljpegsrc.c ext/libvisual/visual.c: Fix the fps calculations. 2005-11-22 23:39:12 +00:00
gstv4ljpegsrc.h sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver. 2005-02-03 18:23:17 +00:00
gstv4lmjpegsink.c ext/libvisual/visual.c: Fix the fps calculations. 2005-11-22 23:39:12 +00:00
gstv4lmjpegsink.h paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
gstv4lmjpegsrc.c Updates for API changes 2005-11-23 13:25:54 +00:00
gstv4lmjpegsrc.h ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect. 2004-10-24 13:41:18 +00:00
gstv4lsrc.c sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the caps being set doesn't have a framerate value. Basic... 2006-01-31 15:36:13 +00:00
gstv4lsrc.h ext/libvisual/visual.c: Fix the fps calculations. 2005-11-22 23:39:12 +00:00
gstv4ltuner.c sys/v4l/v4lsrc_calls.*: Remove sync-related stuff. 2005-07-07 11:29:29 +00:00
gstv4ltuner.h expand tabs 2005-12-06 19:42:02 +00:00
gstv4lxoverlay.c whoops 2005-08-24 11:13:54 +00:00
gstv4lxoverlay.h expand tabs 2005-12-06 19:42:02 +00:00
Makefile.am make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to each Makefile.am so we are sure it goes 2005-07-13 17:58:07 +00:00
README - update links to v4l[12] API docs 2004-05-31 20:36:07 +00:00
TODO Remove all references to xvideosink, fix examples (#140845). 2005-01-09 14:53:59 +00:00
v4l_calls.c sys/v4l/v4l_calls.c: check for and throw RESOURCE_BUSY 2006-01-28 16:35:47 +00:00
v4l_calls.h expand tabs 2005-12-06 19:42:02 +00:00
v4lmjpegsink_calls.c paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
v4lmjpegsink_calls.h paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
v4lmjpegsrc_calls.c ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect. 2004-10-24 13:41:18 +00:00
v4lmjpegsrc_calls.h paranoia cleanups and a sync fix 2004-06-15 09:11:06 +00:00
v4lsrc_calls.c Updates for API changes 2005-11-23 13:25:54 +00:00
v4lsrc_calls.h po/: Translation string updates 2005-11-23 10:40:42 +00:00
videodev_mjpeg.h expand tabs 2005-12-06 19:42:02 +00:00

General Idea:
=============

                            _____/ gstv4lsrc.[ch]
                      _____/     \ v4lsrc_calls.[ch]
                     /
gstv4lelement.[ch] _/____________/ gstv4lmjpegsrc.[ch]
v4l_calls.[ch]      \            \ v4lmjpegsrc_calls.[ch]
                     \_____
                           \_____/ gstv4lmjpegsink.[ch]
                                 \ v4lmjpegsink_calls.[ch]

I.e., all the files on the right are child classes of
the v4lelement 'parent' on the left.

* v4lelement handles generic v4l stuff (picture settings,
    audio, norm/input setting, open()/close())
* v4lsrc, v4lmjpegsrc handle the capture specific
    functions. Maybe we'd need a v4lmpegsrc too
* v4lmjpegsink handles mjpeg hardware playback of video

Useful Documentation:
=====================
MJPEG/V4L API : ./videodev_mjpeg.h

V4L API       : /usr/include/linux/videodev.h or
                /usr/src/linux/Documentation/video4linux/API.html or
                http://linux.bytesex.org/v4l2/API.html

V4L2 API      : /usr/include/linux/videodev2.h or
                http://v4l2spec.bytesex.org/

BSD/Meteor API: /usr/include/machine/ioctl_meteor.h

mjpegtools    : http://www.sourceforge.net/projects/mjpeg