summaryrefslogtreecommitdiff
path: root/libavdevice/v4l.c
Commit message (Collapse)AuthorAge
* Use more descriptive long_names for Video4Linux input devices.Stefano Sabatini2008-12-26
| | | | Originally committed as revision 16322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that the device is a capture device immediately after openingStefano Sabatini2008-12-26
| | | | | | the device. Originally committed as revision 16318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary temporary variable "frame_size" fromStefano Sabatini2008-12-26
| | | | | | grab_read_header(). Originally committed as revision 16317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing check on the result of a VIDIOCCAPTURE ioctl.Stefano Sabatini2008-12-26
| | | | Originally committed as revision 16316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: put a space after each comma, improve consistency andStefano Sabatini2008-12-26
| | | | | | readability. Originally committed as revision 16315 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement size autodetection if one of the width and heightStefano Sabatini2008-12-17
| | | | | | AVFormatParameters for grab_read_header() is non-positive. Originally committed as revision 16199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the width and height fields in VideoData with a structStefano Sabatini2008-12-17
| | | | | | video_window video_win field. Originally committed as revision 16198 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace frame_rate and frame_rate_base fields in VideoData with anStefano Sabatini2008-12-17
| | | | | | AVRational time_base field. Originally committed as revision 16197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary ret variable.Stefano Sabatini2008-12-07
| | | | Originally committed as revision 16033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.Michael Niedermayer2008-08-19
| | | | Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* strcasecmp() requires #include <strings.h>Aurelien Jacobs2008-08-13
| | | | Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Distinguish the error reporting for the cases of wrong size and wrongStefano Sabatini2008-08-06
| | | | | | timebase in the video4linux grab_read_header() function. Originally committed as revision 14646 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make v4l_read_header() don't free a stream in case of failure whenStefano Sabatini2008-07-15
| | | | | | | | reading its header. The stream will be freed later in av_open_input_stream(). Fix a segmentation fault due to a double free on the same pointer. Originally committed as revision 14246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.Diego Biurrun2008-03-24
| | | | | | Without the #include compilation fails. Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.Diego Biurrun2008-03-20
| | | | Originally committed as revision 12521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make v4l.c's video_formats constant and static.Diego Pettenò2008-01-07
| | | | | | Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11443 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove AIW support code, it is unfit for ffmpeg svn, doing usleep() andMichael Niedermayer2007-12-28
| | | | | | | colorspace convertion and deinterlacing in the demuxer. Whoever wants AIW support has to implement this cleanly! Originally committed as revision 11335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce libavdeviceLuca Abeni2007-11-22
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk