summaryrefslogtreecommitdiff
path: root/libavdevice/x11grab.c
Commit message (Collapse)AuthorAge
* x11grab: remove a memory allocation and the associated memcpy.Sven C. Dack2011-06-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf,lavc: free avoptions in a generic way.Anton Khirnov2011-06-05
| | | | | | It's simpler and less error-prone. Fixes some memleaks along the way.
* x11grab: add framerate private option.Anton Khirnov2011-06-04
|
* x11grab: add video_size private option.Anton Khirnov2011-05-27
|
* x11grab: factorize returning error codes.Anton Khirnov2011-05-27
|
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Make x11grab cursor drawing suck lessJason Garrett-Glaser2010-11-07
| | | | | | | | | | | | | This new version: 1. Works on 24-bit and 32-bit input, not just 32-bit. 2. Doesn't try to run on 16-bit or 8-bit, instead of outright crashing. 3. Does proper alpha-blending, so cursor shadows look correct. 4. Doesn't swap R and B. Mostly fixes issue 1997. Fixes issue 2056. Originally committed as revision 25690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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 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
* 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
* 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
* 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
* 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
* x11grab: remove unnecessary #includes and senseless #defineMåns Rullgård2009-07-21
| | | | Originally committed as revision 19479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not invade _t POSIX namespace.Diego Biurrun2008-12-13
| | | | Originally committed as revision 16109 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 unneeded sys/mman.h #include.Diego Biurrun2008-03-24
| | | | Originally committed as revision 12567 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
* typo fixesDiego Biurrun2008-03-15
| | | | Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More verbose error log message.Benoit Fouet2008-01-18
| | | | Originally committed as revision 11556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce libavdeviceLuca Abeni2007-11-22
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk