summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* avdevice/decklink_common: Fix "Cross-compiling FFmpeg on Debian for Windows ↵Carl Eugen Hoyos2014-11-25
| | | | | | | | | with MinGW-w64" Fixes Ticket4130 Requested and Tested by: Zeranoe Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/dshow: fix build, ensure that feature enable #defines are set ↵Michael Niedermayer2014-11-25
| | | | | | | | | | | | before includes dshow_capture.h sets up various flags before including windows headers this must occur before other headers (like os_support.h) include these headers without the setup This could be fixed differently but for now this fixes building on mingw Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/xcbgrab: fix undefined reference to xcb_shape_rectangles in xcbgrab.cBoris Reisig2014-11-24
| | | | | | works with (--enable-libxcb-shape) and without (--disable-libxcb-shape) now. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/iec61883: Use av_freep(), avoid leaving stale pointers in memoryMichael Niedermayer2014-11-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/avdevice.c: Use av_freep(), avoid leaving stale pointersMichael Niedermayer2014-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/fbdev_common: Use av_freep(), avoid leaving stale pointersMichael Niedermayer2014-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/pulse_audio_common: Use av_freep(), avoid leaving stale pointersMichael Niedermayer2014-11-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/oss_audio: avoid strerror() and errbufMichael Niedermayer2014-11-17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/xcbgrab: Fix/remove unneeded NULL checksMichael Niedermayer2014-11-16
| | | | | | Fixes CID1254664 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/avfoundation: Introduce device alias 'none' to allow the user to record ↵Thilo Borgmann2014-11-14
| | | | | | | | only audio or video. Changes the selection of a default device to none instead of the system default device. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/avfoundation: Remove unused -frame_rate option.Carl Eugen Hoyos2014-11-12
|
* lavd/avfoundation: Use internal av_strtok instead of std lib strtokThilo Borgmann2014-11-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '09f25533a564eab743f258d168697a11122914c4'Michael Niedermayer2014-11-10
|\ | | | | | | | | | | | | | | | | | | | | * commit '09f25533a564eab743f258d168697a11122914c4': v4l2: Preserve errno values Conflicts: libavdevice/v4l2.c See: 60950adc18fe145a235211e75da68ab07123fcaa Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * v4l2: Preserve errno valuesLuca Barbato2014-11-09
| | | | | | | | av_log usually resets it.
* | Merge commit 'a1a259881fa7b23e2ffc0c2a43d4923fe42d0478'Michael Niedermayer2014-11-10
|\| | | | | | | | | | | | | | | | | | | | | * commit 'a1a259881fa7b23e2ffc0c2a43d4923fe42d0478': v4l2: Use av_strerror Conflicts: libavdevice/v4l2.c See: 60950adc18fe145a235211e75da68ab07123fcaa Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * v4l2: Use av_strerrorTristan Matthews2014-11-09
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Revert "v4l2: setting device parameters early"Michael Niedermayer2014-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b1ad9312331759679a9c956233716a67ae681d89. Fixes Ticket #3517 Conflicts: libavdevice/v4l2.c Requested-by: Giorgio Vazzana <mywing81@gmail.com> Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/v4l2: use pixel format variable names consistentlyGiorgio Vazzana2014-11-06
| | | | | | | | | | | | | | | | | | We now use 'pixelformat' for V4L2_PIX_FMT_* (as they do in v4l2 documentation) and 'pix_fmt' for AVPixelFormat. No functional change in the code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | v4l2: support MPEG4 compressed streamsAndrey Utkin2014-11-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/alsa: implement get_device_list callbacksLukasz Marek2014-11-01
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | avdevice/xcbgrab: Fix offset supportMichael Niedermayer2014-10-30
| | | | | | | | | | Found-by: carl Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix compilation of xcbgrab if xcb/shape.h is not available.Carl Eugen Hoyos2014-10-30
| | | | | | | | | | | | | | | | | | Old versions of libxcb do not provide xcb_shape_rectangles(). The issue can be fixed differently but this small change fixes some fate platforms and a user reported compilation problem. Reported and tested by trac user kevmitch. Fixes ticket #4067.
* | Fix xcbgrab build if shm is not available.Carl Eugen Hoyos2014-10-30
| |
* | Merge commit '2cd28693a59050717cb7da6cb229e606b1dee356'Michael Niedermayer2014-10-29
|\| | | | | | | | | | | | | * commit '2cd28693a59050717cb7da6cb229e606b1dee356': jack: Use av_strerror Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * jack: Use av_strerrorLuca Barbato2014-10-29
| |
* | avdevice/fbdev_dec: use errno instead of ret for av_logMichael Niedermayer2014-10-29
| | | | | | | | | | | | Should fix printing the wrong value Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '043ea6f7bfc59399b6b3659da785ec4cc68a008e'Michael Niedermayer2014-10-29
|\| | | | | | | | | | | | | | | | | | | | | * commit '043ea6f7bfc59399b6b3659da785ec4cc68a008e': fbdev: Use av_strerror Conflicts: libavdevice/fbdev_dec.c See: f6b56b1f26a1e40a47d85d24b42cd5475cd3b04f Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fbdev: Use av_strerrorLuca Barbato2014-10-29
| |
| * lavd: fix building x11grab after a6674d2Anton Khirnov2014-10-28
| |
* | lavd/v4l2: don't use avpriv_ prefix for internal functionsJames Almer2014-10-29
| | | | | | | | | | | | | | | | | | | | No need to keep the old symbols around until a major bump since lavd functions with the avpriv_ prefix were never exposed. Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Use v4l2 input format automatically if filename starts with "/dev/video"Andrey Utkin2014-10-29
| | | | | | | | Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* | avdevice/xcbgrab: set avclass categoryMichael Niedermayer2014-10-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a6674d2e7771dbf7a4a5556f5e126be83cadac96'Michael Niedermayer2014-10-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a6674d2e7771dbf7a4a5556f5e126be83cadac96': xcbgrab: XCB-based screen capture Conflicts: Changelog configure libavdevice/Makefile libavdevice/alldevices.c libavdevice/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * xcbgrab: XCB-based screen captureLuca Barbato2014-10-26
| | | | | | | | Matches the x11grab screen capture by features.
* | lavd/avfoundation: Fix compilation for non MAC OS devices by conditional ↵Thilo Borgmann2014-10-27
| | | | | | | | | | | | compilation of screen capture capabilities. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/avfoundation: Add support for screen capturing.Thilo Borgmann2014-10-25
| | | | | | | | | | | | Patch based on pull-request by Joseph Benden <joe@benden.us> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdeviece: Read errno before av_log() as the callback from av_log() might ↵Michael Niedermayer2014-10-25
| | | | | | | | | | | | affect errno Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/fbdev_common: report error during probing fbdev deviceLukasz Marek2014-10-21
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_dec: use default device when not providedLukasz Marek2014-10-21
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd: export all symbols with av_ prefixLukasz Marek2014-10-20
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit 'b7c77912b62163b3b46ce93fe42fff3c83604c82'Michael Niedermayer2014-10-18
|\| | | | | | | | | | | | | | | | | | | | | * commit 'b7c77912b62163b3b46ce93fe42fff3c83604c82': oss_audio: use a macro to simplify ioctl() error checking Conflicts: libavdevice/oss_audio.c See: 69c7aad494683953e833e8622776e3bbcc7921ed Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit '2a5ac99e6e06078713f684fee2466c91f677b303'Michael Niedermayer2014-10-05
|\| | | | | | | | | | | | | | | | | | | | | * commit '2a5ac99e6e06078713f684fee2466c91f677b303': x11grab: Check the XQueryPointer return value Conflicts: libavdevice/x11grab.c See: 69c34a6ac986e31b5286a1d566617ec25b93e6a7 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit '5b9c817dc7577b6d44acc94d73b9c77c52cda489'Michael Niedermayer2014-10-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5b9c817dc7577b6d44acc94d73b9c77c52cda489': x11grab: Check XFixesGetCursorImage return value Conflicts: libavdevice/x11grab.c See: a65c0a3fe822386be30fd3371af9f0d008b02874 The warning with adjusted text is kept from a65c0a3fe822386be30fd3371af9f0d008b02874 but drawing the cursor is not disabled in case XFixesGetCursorImage() fails Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge commit '89fa2b5616274194d90bde0aeebf6adbd1245193'Michael Niedermayer2014-10-05
|\| | | | | | | | | | | | | | | * commit '89fa2b5616274194d90bde0aeebf6adbd1245193': x11grab: Check for XFixes availability at runtime See: a65c0a3fe822386be30fd3371af9f0d008b02874 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * x11grab: Check for XFixes availability at runtimeLuca Barbato2014-10-04
| |
* | lavd/avfoundation: Add basic PCM audio support.Thilo Borgmann2014-09-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/avfoundation: Use microseconds as common timebase.Thilo Borgmann2014-09-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>