aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
Commit message (Collapse)AuthorAgeFilesLines
* protect unistd.h with #if HAVE_UNISTD_H in code from recent ↵Michael Niedermayer2014-07-081-1/+4
| | | | | | | | av_bprint_fd_contents() patches Should fix build failure on MSVC Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/lavfi: allow non-mmappable files for graph_fileAndrey Utkin2014-07-071-16/+17
| | | | | | Use av_bprint_fd_contents() instead of av_file_map() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/pulse_audio_dec: clear pa_simple pointer after deallocationMichael Niedermayer2014-07-031-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/xv: fix missing {Michael Niedermayer2014-06-301-1/+1
| | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/xv: handle delete window messageLukasz Marek2014-06-301-0/+16
| | | | | | | | | User may close X11 window by close button on tray. FFmpeg leaves in graceless way. This commit detects it and return EPIPE error. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/avfoundation: Support user selected pixel formats and pixel format ↵sfan52014-06-121-3/+92
| | | | | | | 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-071-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix various typosLou Logan2014-06-031-5/+5
| | | | | 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-221-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/jack_audio: use av_fifo_alloc_arrayLukasz Marek2014-05-201-2/+2
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* lavd: Use av_gettime_relative()Olivier Langlois2014-05-181-4/+1
| | | | | | | | | | | | | | 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-131-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | * 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-131-1/+0
| | | | | | | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* | lavd/jack_audio: use av_fifo_freepLukasz Marek2014-05-071-6/+6
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/xv: reident after previous commitsLukasz Marek2014-05-021-12/+11
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: fix window size correction codeLukasz Marek2014-05-021-2/+2
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: add window size paramLukasz Marek2014-05-022-3/+14
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: use flag to mark inited contextLukasz Marek2014-05-021-2/+4
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/opengl_enc: fix pixel data alignmentLukasz Marek2014-04-301-0/+2
| | | | | | | | | | 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-301-1/+1
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/pulse_audio_enc: signal that buffer is still writable after writeLukasz Marek2014-04-301-0/+4
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/pulse_audio_enc: add pointer checksLukasz Marek2014-04-301-2/+4
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/pulse_audio_enc: add more buffer attributesLukasz Marek2014-04-301-0/+16
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_dec: implement fbdev_get_device_list callbackLukasz Marek2014-04-301-0/+6
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_enc: move list device code to fbdev_commonLukasz Marek2014-04-303-55/+67
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_enc: remove redundant assignmentsLukasz Marek2014-04-301-5/+2
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Fix convertion typosMichael Niedermayer2014-04-291-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/fbdev_enc: fix not closed handlesLukasz Marek2014-04-271-1/+2
| | | | | | | | | | | | | | 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-241-1/+1
| | | | | | | | | | | | | | Fixes: Ticket 3588 Found-by: jeremyhu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/jack_audio: use av_malloc_array()Michael Niedermayer2014-04-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Various small spelling fixes.Reimar Döffinger2014-04-221-7/+7
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | lavd/xv: implement repaint messageLukasz Marek2014-04-191-10/+27
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/xv: add window id paramLukasz Marek2014-04-191-1/+6
| | | | | | | | | | | | | | 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-191-2/+68
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge remote-tracking branch 'lukaszmluki/master'Michael Niedermayer2014-04-184-101/+755
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-181-0/+14
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: implement volume messagesLukasz Marek2014-04-181-0/+246
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/avdevice: add volume messagesLukasz Marek2014-04-181-0/+53
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: add buffer fullness messagesLukasz Marek2014-04-181-0/+18
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: add nonblocking modeLukasz Marek2014-04-181-2/+9
| | | | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
| * | lavd/pulse_audio_enc: replace simple API with async APILukasz Marek2014-04-181-36/+311
| | | | | | | | | | | | | | | | | | 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-181-32/+35
| | |
| * | lavd/pulse_audio_common: add context helper functionsLukasz Marek2014-04-182-28/+66
| | | | | | | | | | | | | | | | | | | | | 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-181-10/+10
|/ / | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Fix OpenGL device compilation with msvc gl.hMatt Oliver2014-04-161-3/+3
| | | | | | | | | | 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-131-1/+1
| | | | | | | | | | | | | | 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-121-0/+1
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd/fbdev_enc: implement get_device_listLukasz Marek2014-04-121-0/+63
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | lavd: no default device unless explicitly setLukasz Marek2014-04-121-0/+2
| | | | | | | | | | | | | | 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-113-0/+376
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>