summaryrefslogtreecommitdiffstats
path: root/libavdevice
Commit message (Collapse)AuthorAgeFilesLines
* timefilter: Handle memory allocation failureDerek Buitenhuis2013-10-274-0/+16
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavd/pulse_audio_enc: avoid vars in for()Lukasz Marek2013-10-261-1/+2
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/pulse_audio_enc: add another default to stream nameLukasz Marek2013-10-261-2/+6
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/fbdev_common: fix compilation with older kernelsIngo Brückl2013-10-241-0/+1
| | | | | | | | This will avoid errors due to conflicting declarations with linux kernels prior to 2.6.30. Reviewed-by: Lukasz M <lukasz.m.luki@gmail.com> Signed-off-by: Ingo Brückl <ib@wupperonline.de>
* lavd/x11grab: Support AV_PIX_FMT_PAL8.Carl Eugen Hoyos2013-10-241-0/+24
| | | | Fixes ticket #3068.
* avdevice/fbdev_enc: avoid declaring variables in for()Michael Niedermayer2013-10-241-2/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/fbdev: move common code to separate fileLukasz Marek2013-10-245-72/+98
| | | | | | | Move common fbdev dec/enc for separate file. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* lavd: rename fbdev.c into fbdev_dec.cLukasz Marek2013-10-242-1/+1
| | | | | | | Rename existing fbdev.c to make it a more meaningful name. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* lavd: add fbdev output deviceLukasz Marek2013-10-244-2/+256
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* lavd/pulse_audio_enc: add support for flushingLukasz Marek2013-10-201-4/+10
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* lavd/pulse_audio_enc: fix error checkLukasz Marek2013-10-181-1/+1
| | | | | | | Error check should be done by checking negative value, not non-zero. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* lavd/fbdev: use av_str2err() macro for printing error messagesStefano Sabatini2013-10-181-5/+5
| | | | | In particular fix wrong strerror(ret) with a negative value, and avoid the use of non thread-safe strerror().
* lavd/pulse_audio_dec: apply cosmetic changesLukasz Marek2013-10-181-7/+7
| | | | | | | | In particular, fix punctuation in docs and make option help messages grammatically consistent. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* lavd/fbdev: pass proper memory map lengthLukasz Marek2013-10-181-1/+1
| | | | | | | | fbdev->data was allocated with size fbdev->fixinfo.smem_len, release data in fbdev_read_close() using the same size. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* avdevice/pulse_audio_enc: fix stream indexLukasz Marek2013-10-121-1/+1
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/xv.c: Include XShm.h before Xvlib.h.Carl Eugen Hoyos2013-10-091-1/+1
| | | | This may fix compilation with libxv 1.0.4.
* Add pulse_audio_common.h to skipheaders.Carl Eugen Hoyos2013-10-091-0/+1
| | | | Fixes an error when running make checkheaders.
* lavd/pulse: move common code to separate fileLukasz Marek2013-10-085-40/+79
| | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/pulse: rename pulse.c into pulse_audio_dec.cLukasz Marek2013-10-082-1/+1
| | | | | | | | This make name of the file more specific as there is also encoder implementation. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd: pulse audio encoderLukasz Marek2013-10-084-2/+174
| | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/v4l: remove duplicate includeMichael Niedermayer2013-09-211-1/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid matchmrlika2013-09-171-0/+4
| | | | | | | | | | | | | | | | With some (buggy) drivers, the VIDIOC_G_STD ioctl returns a std_id that cannot be matched with any of the enumerated v4l2_standard structures (for example std_id = 0 or std_id = 0xffffff). Do not fail when we reach the end of the enumeration without a valid match. Fixes ticket #2370 Note: This commit message has been modified by Giorgio Vazzana, the original commit message was: "Fixed regression for mandatory VIDIOC_ENUMSTD support by v4l2" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/v4l2: Improve debug messageGiorgio Vazzana2013-09-081-5/+5
| | | | | | | In particular, print the standard supported by the selected input. Additionally, use PRIx64 everywhere when printing standards. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Read h264 headers from v4l2 to allow stream-copying.Carl Eugen Hoyos2013-09-011-0/+3
| | | | | Fixes ticket #2882. Analyzed and tested by William C Bonner.
* Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-302-8/+8
|
* lavd: Fix make checkheadersJames Almer2013-08-111-0/+2
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-08-102-0/+3
|\ | | | | | | | | | | | | * qatar/master: libavutil: Make avpriv_open a library-internal function on msvcrt Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: Make avpriv_open a library-internal function on msvcrtMartin Storsjö2013-08-102-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge commit 'cb0244daaca83ab666798818f74f5181bf6bc387'Michael Niedermayer2013-08-101-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'cb0244daaca83ab666798818f74f5181bf6bc387': bktr: Changed a missed occurrance of open into avpriv_open Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * bktr: Changed a missed occurrance of open into avpriv_openMartin Storsjö2013-08-101-1/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '71bf6b41d974229a06921806c333ce98566a5d8a'Michael Niedermayer2013-08-084-5/+9
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '71bf6b41d974229a06921806c333ce98566a5d8a': libavdevice: use avpriv_open() Conflicts: libavdevice/v4l2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavdevice: use avpriv_open()Rémi Denis-Courmont2013-08-075-6/+10
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avdevice/vfwcap: make constant arrays staticMichael Niedermayer2013-08-031-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/dshow: make constant arrays staticMichael Niedermayer2013-08-031-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/timefilter: 2nd try at avoiding rounding issuesMichael Niedermayer2013-08-031-3/+2
| | | | | | | | | | | | This hopefully fixes fate-timefilter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/timefilter-test: provide more space for the printout to allow ↵Michael Niedermayer2013-08-031-1/+1
| | | | | | | | | | | | larger values Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91'Michael Niedermayer2013-08-031-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7950e519bb094897f957b9a9531cc60ba46cbc91': Disable deprecation warnings for cases where a replacement is available Conflicts: libavcodec/avpacket.c libavcodec/pthread.c libavcodec/utils.c libavdevice/v4l2.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-021-0/+3
| |
* | avdevice/timefilter-test: dont try to optimize par1 for n0=0 caseMichael Niedermayer2013-08-021-1/+2
| | | | | | | | | | | | | | | | for the n0=0 case there are multiple solutions and different platforms pick different ones This should reduce the issues with fate and the timefilter test Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/timefilter: cleanup the formating of the test outputMichael Niedermayer2013-07-301-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/fbdev: use AV_OPT_TYPE_VIDEO_RATEPaul B Mahol2013-07-261-8/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avdevice/x11grab: use AV_OPT_TYPE_VIDEO_RATEPaul B Mahol2013-07-261-8/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avdevice/lavfi: fix input with unknown channel layoutMichael Niedermayer2013-07-131-1/+1
| | | | | | | | | | | | | | Fixes handling of >8 channels Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/fbdev.c: Support RGB565 input colour space.Dan Flett2013-07-111-0/+1
| | | | | | | | | | | | Tested on a Raspberry Pi. Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
* | avformat/AVFormatContext: Move fields down to match the forkMichael Niedermayer2013-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avconv uses private and internal fields from libavformat, we thus must match the layout even of the fields marked non public. Otherwise ffmpegs libavformat could not be used as a dropin replacement on debian/ubuntu The current soname of libavformat was not part of any release nor are any fields marked public moved thus in theory no installed shared lib ABI breakage should occur. Still the need for this change is unfortunate and chilling. If you installed shared libs from a recent development version of libavformat that is more recent than the last release. You probably want to check or rebuild applications that linked to it. minor versions of avformat & avdevice are bumped to allow detecting this as both use the updated struct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at ↵Stefano Sabatini2013-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the next bump Add function avfilter_graph_parse_ptr() and favor it in place of avfilter_graph_parse(), which will be restored with the old/Libav signature at the next bump. If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the Libav-compatible signature for avfilter_graph_parse(). At the next major bump the current implementation of avfilter_graph_parse() should be dropped in favor of the Libav/old implementation. Should address trac ticket #2672.
* | avdevice/x11grab: allocate just one CursorMichael Niedermayer2013-06-211-3/+4
| | | | | | | | | | | | | | Fixes resource leak and Ticket2450 Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd: add xv output deviceStefano Sabatini2013-05-304-2/+221
| | | | | | | | | | | | | | | | Based on the work of Jeff Moguillansky <Jeff.Moguillansky@am.sony.com>. See thread: Subject: [FFmpeg-devel] x11 output device for libavdevice Date: Wed, 10 Apr 2013 23:10:47 +0000
* | v4l2: make possible to disable libv4l2 at runtime.Clément Bœsch2013-05-222-13/+47
| | | | | | | | | | | | Also disable it by default since it looks currently buggy. The usefulness of such library is mostly limited to backward compatibility with very old devices.
* | lavd/v4l2enc: check write return value.Clément Bœsch2013-05-201-1/+2
| |
OpenPOWER on IntegriCloud