summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
...
* oss_audio: use a macro to simplify ioctl() error checkingTimothy Gu2014-10-18
| | | | | | | | | Also add a note about SNDCTL_DSP_GETFMTS which may fail even if OSS is available. CC: libav-stable@libav.org Bug-Id: CID 1238992 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* x11grab: Check the XQueryPointer return valueAntonio Ospite2014-10-04
| | | | | | | | | | | | | | The paint_mouse_pointer() code uses XFixes to retrieve the cursor coordinates, but XFixes gives no information about which screen the pointer is on; this results in always drawing the cursor on the captured screen even if the mouse pointer was on another screen. For example, when capturing from screen 1 (i.e. -f x11grab -i ":0.1") the cursor was being drawn in the captured image even when the mouse pointer was actually on screen 0, which is wrong and visually confusing. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x11grab: Check XFixesGetCursorImage return valueLuca Barbato2014-10-04
| | | | | | | It could return NULL if the cursor is outside the screen, the connection timed out or the system is out of memory. CC: libav-stable@libav.org
* x11grab: Check for XFixes availability at runtimeLuca Barbato2014-10-04
|
* x11grab: Refactor pixel format parsingLuca Barbato2014-09-03
|
* x11grab: Fallback to normal XImage if SHM is not supportedLuca Barbato2014-09-03
|
* x11grab: Use a typedef for the context, as most other code doesLuca Barbato2014-08-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x11grab: Drop a spurious space in the extension reporting messageLuca Barbato2014-08-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x11grab: Small near-cosmetic refactoringsLuca Barbato2014-08-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x11grab: K&R formatting cosmeticsLuca Barbato2014-08-28
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* pulse: Set the wallclock option as defaultLuca Barbato2014-08-27
|
* vfwcap: Add fallback define for HWND_MESSAGEDiego Biurrun2014-08-25
| | | | Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition.
* pulse: Add a wallclock option to be compatible with other other capturesLuca Barbato2014-08-24
| | | | | | alsa and x11grab use av_gettime() to report timestamps. Bug-Id: 647
* vfwcap: Drop fallback VfW definesDiego Biurrun2014-08-19
| | | | The defines were added long ago when MinGW still lacked them.
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()Diego Biurrun2014-08-15
|
* Bump major versions of all libraries.Anton Khirnov2014-08-09
|
* oss_audio: Split muxer and demuxerNidhi Makhijani2014-07-18
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avdevice: Give names to anonymously typedeffed structsDiego Biurrun2014-07-18
| | | | | Anonymous structs can cause trouble in header files, so try to avoid them altogether as a matter of good style.
* build: handle library dependencies in configureJanne Grunau2014-05-13
| | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* avutil: Move library version related macros to version.hDiego Biurrun2013-12-26
| | | | This is a more sensible place for these macros.
* configure: Prefix libc-related variables with "libc_"Diego Biurrun2013-12-09
| | | | Simplifies host/target libc detection splitting.
* alsa-audio-dec: explicitly cast the delay to a signed int64Anton Khirnov2013-12-03
| | | | | | Otherwise the expression will be evaluated as unsigned, which will break when the result should be negative. CC:libav-stable@libav.org
* timefilter: Handle memory allocation failureDerek Buitenhuis2013-10-29
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libavutil: Make avpriv_open a library-internal function on msvcrtMartin Storsjö2013-08-10
| | | | | | | | | | | | | | | Add one copy of the function into each of the libraries, similarly to what we do for log2_tab. When using static libs, only one copy of the file_open.o object file gets included, while when using shared libraries, each of them get a copy of its own. This fixes DLL builds with a statically linked C runtime, where each DLL effectively has got its own instance of the C runtime, where file descriptors can't be shared across runtimes. On systems not using msvcrt, the function is not duplicated. Signed-off-by: Martin Storsjö <martin@martin.st>
* bktr: Changed a missed occurrance of open into avpriv_openMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavdevice: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
|
* Remove commented-out debug #define cruftDiego Biurrun2013-05-16
|
* silly typo fixesDiego Biurrun2013-05-03
|
* sndio_dec: Add missing includes for av_gettime()Martin Storsjö2013-03-24
| | | | | | | This is necessary after the old av_gettime in libavformat was dropped. Signed-off-by: Martin Storsjö <martin@martin.st>
* bktr: Add missing includes for av_gettime()Martin Storsjö2013-03-23
| | | | | | | This is necessary after the old av_gettime in libavformat was dropped. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add the bumps and APIchanges entries for reference counted buffers changes.Anton Khirnov2013-03-08
|
* avpacket: use AVBuffer to allow refcounting the packets.Anton Khirnov2013-03-08
| | | | | | This will allow us to avoid copying the packets in many cases. This breaks ABI.
* libcdio: support recent cdio-paranoiaLuca Barbato2013-01-17
| | | | | Upstream decided to split the paranoia interface and move the headers accordingly.
* v4l2: do not assert on a value received from outside of LibavAnton Khirnov2013-01-13
|
* v4l2: set the average framerate instead of codec timebase.Anton Khirnov2013-01-13
| | | | Codec timebase is supposed to be set by decoders only.
* v4l2: avoid pointless indirection.Anton Khirnov2013-01-13
| | | | | v4l2_read_header() does no cleanup, so it can return directly, without any need for goto.
* build: Avoid detecting bogus components named 'x'Clément Bœsch2013-01-03
| | | | | | | | | | The function find_things() in configure is confused by component registration calls as part of multiline macros defining combined component registration. Coalesce those macros into one line to work around the issue. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Prettyprint codec/format/filter registration filesDiego Biurrun2012-12-28
|
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-04
|
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* dv1394: Swap the min and max values of the 'standard' optionMichael Niedermayer2012-11-02
| | | | | | DV1394_NTSC has a lower value than DV1394_PAL. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu,lavd: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* timefilter: De-doxygenize normal code comments and drop silly onesDiego Biurrun2012-10-07
|
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* Remove some silly disabled code.Diego Biurrun2012-10-01
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>