summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* Remove non-existing stray arguments from Doxygen function documentation.Diego Biurrun2010-07-02
| | | | Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stray semicolon.Carl Eugen Hoyos2010-06-21
| | | | Originally committed as revision 23691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove broken BeOS audio interface.Diego Biurrun2010-06-10
| | | | Originally committed as revision 23568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in caseStefano Sabatini2010-05-01
| | | | | | | of failure return the stored value rather than the current errno, which may be overwritten by a following call to close(). Originally committed as revision 23001 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: flip RGB rawvideo.Ramiro Polla2010-04-29
| | | | Originally committed as revision 22989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check the return value of device_try_init() immediately after calling such aLuca Abeni2010-04-28
| | | | | | | | function. Avoids the following warning: libavdevice/v4l2.c: In function ‘v4l2_read_header’: libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function Originally committed as revision 22986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix weird brace placement.Stefano Sabatini2010-04-27
| | | | Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce the verbosity of the v4l2 input deviceLuca Abeni2010-04-27
| | | | Originally committed as revision 22980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify some output messages in the v4l2 input deviceLuca Abeni2010-04-27
| | | | Originally committed as revision 22979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement v4l2 input size autodetection in v4l2_read_header().Stefano Sabatini2010-04-26
| | | | | | | | | Move check on frame size after the device is opened and after device_try_init() is attempted. If the provided size value is 0x0, perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the current settings. Originally committed as revision 22971 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return meaningful error codes, rather than always -1.Stefano Sabatini2010-04-26
| | | | Originally committed as revision 22966 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary width and height variables from v4l2_read_header().Stefano Sabatini2010-04-25
| | | | Originally committed as revision 22963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all remaining occurrences of AVERROR_NOMEM withStefano Sabatini2010-04-03
| | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_Martin Storsjö2010-04-02
| | | | Originally committed as revision 22776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =Stefano Sabatini2010-03-25
| | | | | | AVERROR(-1) = 1. Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* x11grab: AVFormatParameters are always passed from av_open_input_stream(),Ramiro Polla2010-03-23
| | | | | | there is no need to check for it. Originally committed as revision 22651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert removal of _NETBSD_SOURCE definition.Diego Biurrun2010-03-21
| | | | | | It is indeed necessary to compile on NetBSD. Originally committed as revision 22613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: Free remaining packets on vfw_read_close().Ramiro Polla2010-03-17
| | | | Originally committed as revision 22575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not store a copy of AVFormatContext *s in vfw_ctx.Ramiro Polla2010-03-17
| | | | | | Save *s directly in SetWindowLongPtr instead. Originally committed as revision 22574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and markStefano Sabatini2010-03-13
| | | | | | AVERROR_EIO for deletion at the next major bump. Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace BSD-specific integer types by their POSIX equivalents.Diego Biurrun2010-03-12
| | | | | | | Mark bktr_init function as av_cold. Tested to work by Michael Kostylev on the NetBSD FATE box. Originally committed as revision 22487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.Diego Biurrun2010-03-12
| | | | | | | | | | | | This make NetBSD compile out of the box at the cost of a hack, but a locally contained one that is preferable to the one used in the wild. Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work around broken system headers. Since it is unlikely for NetBSD to fix their headers, it is better to use a standard flag instead of a system-specific one. As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition. Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: Add support for UYVY pixel format.Ramiro Polla2010-03-10
| | | | Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some missing #includesMåns Rullgård2010-03-06
| | | | Originally committed as revision 22258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add _NETBSD_SOURCE definition to fix compilation on NetBSD.Jorge Acereda2010-03-03
| | | | | | | | | | NetBSD is unlikely to fix their headers and the FATE box passes it as -D_NETBSD_SOURCE on the command line anyway. In this case, it's better to keep the hack well-contained within this file. Closes issue 886. patch by Jorge Acereda, jacereda brainstorm es Originally committed as revision 22164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: support MJPG compressed streams.Nash Tsai2010-02-23
| | | | | | Patch by Nash Tsai <nash dot tsai at gmail dot com> Originally committed as revision 22004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Indent.Ramiro Polla2010-02-21
| | | | Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Satisfy style nits.Stefano Sabatini2010-02-05
| | | | Originally committed as revision 21648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.Jai Menon2010-01-28
| | | | Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vfwcap: Include windows.h before vfw.h since the latter requires defineskemuri2010-01-23
| | | | | | | from the former. Patch by kemuri <kemuri9 at gmail dot com> Originally committed as revision 21411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add symbol versioning for shared librariesMåns Rullgård2010-01-16
| | | | | | Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define device_try_init() as static in libavdevice/v4l2.c.Reinhard Tartler2010-01-03
| | | | | | Patch by Reinhard Tartler (siretart AT tauware DOT de). Originally committed as revision 21004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define _XOPEN_SOURCE as 600 before including a XSI extension header.Carl Eugen Hoyos2009-12-14
| | | | Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use enum PixelFormat as type for input_pixfmt to avoid one icc warning.Carl Eugen Hoyos2009-12-14
| | | | Originally committed as revision 20859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support compressed formats in the V4L2 input device.Luca Abeni2009-12-14
| | | | | | Patch by klchxbec AT freenet DOT de. Originally committed as revision 20858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for V4L2 compressed formats in the table used for convertingLuca Abeni2009-12-14
| | | | | | | between V4L2 formats and ffmpeg's formats/codecs. Patch by klchxbec AT freenet DOT de. Originally committed as revision 20857 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the correct type for the V4L2 format.Luca Abeni2009-12-14
| | | | Originally committed as revision 20856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return pkt->size in v4l2_read_packet().Luca Abeni2009-12-14
| | | | | | | mmap_read_frame() takes care of ensuring that the packet size is correct. Originally committed as revision 20855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include alsa headers before the internal FFmpeg headers.Matthieu Castet2009-11-29
| | | | | | | | | | | This avoids symbol redefinitions problems, for example avoids the "free" symbol to be redefined before system headers actually using it are included, thus breaking compilation. In particular this change allows to build FFmpeg with salsa. Patch by matthieu castet <$surname.mat?hieu@free fr>. Originally committed as revision 20665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* consistency with other files: av_cold static ---> static av_coldIvo van Poorten2009-11-29
| | | | Originally committed as revision 20662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add nomouse option to not record the mouse cursor.Michael Niedermayer2009-11-27
| | | | | | Implements issue877 Originally committed as revision 20633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused stuff.Michael Niedermayer2009-11-27
| | | | Originally committed as revision 20632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Real cursor support in x11grab.Roxis2009-11-27
| | | | | | | Patch by Roxis /// roxis list dot ru Slight changes by me to update the patch to current svn. Originally committed as revision 20631 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not invent error codes but pass the error code on.Michael Niedermayer2009-11-27
| | | | Originally committed as revision 20630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace very odd and completely broken oss read_packet() by the obvious way toMichael Niedermayer2009-11-27
| | | | | | | read. Fixes issue348. Originally committed as revision 20629 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add functions to return library license and library configuration.Diego Biurrun2009-11-18
| | | | Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk