summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* lavd/avfoundation: Support user selected pixel formats and pixel format ↵sfan52014-06-12
| | | | | | | autoselection. Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/lavfi: Use av_malloc_array()Michael Niedermayer2014-06-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix various typosLou Logan2014-06-03
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/v4l2: Use av_malloc_array()Michael Niedermayer2014-05-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/jack_audio: use av_fifo_alloc_arrayLukasz Marek2014-05-20
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd: Use av_gettime_relative()Olivier Langlois2014-05-18
| | | | | | | | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Since v4l2 is compiled only on Linux where av_gettime_relative() is monotonic, a small wrapper function av_gettime_monotonic() is used (should be inlined the compiler) to put emphasis on that fact. Signed-off-by: Olivier Langlois <olivier@trillion01.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '449511740f06a4675b0066730fa45cdb764ffafc'Michael Niedermayer2014-05-13
|\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '449511740f06a4675b0066730fa45cdb764ffafc': build: handle library dependencies in configure Conflicts: common.mak configure libavdevice/Makefile libavfilter/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: handle library dependencies in configureJanne Grunau2014-05-13
| | | | | | | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* | lavd/jack_audio: use av_fifo_freepLukasz Marek2014-05-07
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/xv: reident after previous commitsLukasz Marek2014-05-02
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: fix window size correction codeLukasz Marek2014-05-02
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: add window size paramLukasz Marek2014-05-02
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: use flag to mark inited contextLukasz Marek2014-05-02
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: fix pixel data alignmentLukasz Marek2014-04-30
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/pulse_audio_enc: respect minreq while checking buffer fullnessLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/pulse_audio_enc: signal that buffer is still writable after writeLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/pulse_audio_enc: add pointer checksLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/pulse_audio_enc: add more buffer attributesLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_dec: implement fbdev_get_device_list callbackLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_enc: move list device code to fbdev_commonLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_enc: remove redundant assignmentsLukasz Marek2014-04-30
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Fix convertion typosMichael Niedermayer2014-04-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/fbdev_enc: fix not closed handlesLukasz Marek2014-04-27
| | | | | | | | | | | | | | Fixes CID 1206651 Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/qtkit: fix includeMichael Niedermayer2014-04-24
| | | | | | | | | | | | | | Fixes: Ticket 3588 Found-by: jeremyhu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/jack_audio: use av_malloc_array()Michael Niedermayer2014-04-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Various small spelling fixes.Reimar Döffinger2014-04-22
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavd/xv: implement repaint messageLukasz Marek2014-04-19
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/xv: add window id paramLukasz Marek2014-04-19
| | | | | | | | | | | | | | Device is able to use existing window, that can be a part of existing GUI - instead of newly created one. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/xv: keep aspect ratioLukasz Marek2014-04-19
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge remote-tracking branch 'lukaszmluki/master'Michael Niedermayer2014-04-18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukaszmluki/master: lavd/pulse_audio_enc: implement pause messages lavd/pulse_audio_enc: implement volume messages lavd/avdevice: add volume messages lavd/pulse_audio_enc: add buffer fullness messages lavd/pulse_audio_enc: add nonblocking mode lavd/pulse_audio_enc: replace simple API with async API lavd/pulse_audio_enc: cosmetics lavd/pulse_audio_common: add context helper functions lavd/pulse_audio_common: rename variables and enums Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavd/pulse_audio_enc: implement pause messagesLukasz Marek2014-04-18
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: implement volume messagesLukasz Marek2014-04-18
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/avdevice: add volume messagesLukasz Marek2014-04-18
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: add buffer fullness messagesLukasz Marek2014-04-18
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: add nonblocking modeLukasz Marek2014-04-18
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: replace simple API with async APILukasz Marek2014-04-18
| | | | | | | | | | | | | | | | | | Async API allows to use full capabilites of PulseAudio. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: cosmeticsLukasz Marek2014-04-18
| | |
| * | lavd/pulse_audio_common: add context helper functionsLukasz Marek2014-04-18
| | | | | | | | | | | | | | | | | | | | | Functions allow to connect and disconnect from server. Helpfull to implement utility functions with nested loops. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_common: rename variables and enumsLukasz Marek2014-04-18
|/ / | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Fix OpenGL device compilation with msvc gl.hMatt Oliver2014-04-16
| | | | | | | | | | Reveiwed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/avdevice: fix buildbreak when included to C++ codeLukasz Marek2014-04-13
| | | | | | | | | | | | | | class is reserved keyword in C++ and compilator complains about that variable. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/qtkit: add device categoryLukasz Marek2014-04-12
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_enc: implement get_device_listLukasz Marek2014-04-12
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd: no default device unless explicitly setLukasz Marek2014-04-12
| | | | | | | | | | | | | | AVDeviceInfoList was allocated with first device set as default even though there is no device after allocation. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Add AVFoundation input device.Thilo Borgmann2014-04-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd: add control message enumsLukasz Marek2014-04-11
| | | | | | | | | | | | Adds messages that allows to control (audio) buffer and play/pause state. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd: add device capabilities APILukasz Marek2014-04-11
| | | | | | | | | | | | | | Provides API to query device capabilities. Each device must implement callbacks to benefit from this API. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | pulseaudio: move NULL check up before dereference.Reimar Döffinger2014-04-06
| | | | | | | | | | | | Fixes CID 1197068. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Add Win32 GDI-based screen grabbingCalvin Walton2014-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on original code by Christophe Gisquet in 2010, updated to work with current ffmpeg APIs. Supports grabbing a single window or an area of the screen, including support for multiple monitors (Windows does funky stuff with negative coordinates here). I've moved most of the configuration to AVOptions; the input file name is now only the string "desktop", or "title=<windowname>" to select a single window. The AVOptions are the same as x11grab where possible. Code has been added to support a "show_region" mode, like x11grab, which will draw a rectangle on the screen around the area being captured. Instead of duplicating code for paletted image handling, I make use of the GDI API's ability to output DIB (BMP) images, which can be run through ffmpeg's existing BMP decoder. Signed-off-by: Calvin Walton <calvin.walton@kepstin.ca> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/qtkit: Support choosing the input device by index or by name.Thilo Borgmann2014-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>