summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* avdevice/v4l: remove duplicate includeMichael Niedermayer2013-09-21
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid matchmrlika2013-09-17
| | | | | | | | | | | | | | | | 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-08
| | | | | | | 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-01
| | | | | Fixes ticket #2882. Analyzed and tested by William C Bonner.
* Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-30
|
* lavd: Fix make checkheadersJames Almer2013-08-11
| | | | | 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-10
|\ | | | | | | | | | | | | * 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-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>
* | Merge commit 'cb0244daaca83ab666798818f74f5181bf6bc387'Michael Niedermayer2013-08-10
|\| | | | | | | | | | | | | * 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-10
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '71bf6b41d974229a06921806c333ce98566a5d8a'Michael Niedermayer2013-08-08
|\| | | | | | | | | | | | | | | | | | | * 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-07
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avdevice/vfwcap: make constant arrays staticMichael Niedermayer2013-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/dshow: make constant arrays staticMichael Niedermayer2013-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/timefilter: 2nd try at avoiding rounding issuesMichael Niedermayer2013-08-03
| | | | | | | | | | | | 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-03
| | | | | | | | | | | | larger values Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-02
| |
* | avdevice/timefilter-test: dont try to optimize par1 for n0=0 caseMichael Niedermayer2013-08-02
| | | | | | | | | | | | | | | | 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-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/fbdev: use AV_OPT_TYPE_VIDEO_RATEPaul B Mahol2013-07-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avdevice/x11grab: use AV_OPT_TYPE_VIDEO_RATEPaul B Mahol2013-07-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avdevice/lavfi: fix input with unknown channel layoutMichael Niedermayer2013-07-13
| | | | | | | | | | | | | | 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-11
| | | | | | | | | | | | 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-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-21
| | | | | | | | | | | | | | 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-30
| | | | | | | | | | | | | | | | 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-22
| | | | | | | | | | | | 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-20
| |
* | lavd: add v4l2 outdev.Clément Bœsch2013-05-20
| |
* | lavd/v4l2: move pixel format conversion code to a separate place.Clément Bœsch2013-05-20
| | | | | | | | This will be shared with the output device.
* | Merge commit 'b3ea76624ad1baab0b6bcc13f3f856be2f958110'Michael Niedermayer2013-05-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b3ea76624ad1baab0b6bcc13f3f856be2f958110': vf_aspect: use the name 's' for the pointer to the private context Remove commented-out debug #define cruft Conflicts: libavcodec/4xm.c libavcodec/dvdsubdec.c libavcodec/ituh263dec.c libavcodec/mpeg12.c libavfilter/avfilter.c libavfilter/vf_aspect.c libavfilter/vf_fieldorder.c libavformat/rtmpproto.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove commented-out debug #define cruftDiego Biurrun2013-05-16
| |
* | replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*Michael Niedermayer2013-05-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7'Michael Niedermayer2013-05-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7': silly typo fixes Conflicts: doc/protocols.texi libavcodec/aacpsy.c libavformat/utils.c tools/patcheck Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | avdevice/lavfi: add error checking for av_opt_set_int_list()Michael Niedermayer2013-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | buffersink: switch from opaque to AVOptions for paramsMichael Niedermayer2013-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | abuffersink: switch from opaque to AVOptions for paramsMichael Niedermayer2013-04-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/v4l2: fully init an ioctl argument.Nicolas George2013-04-01
| | | | | | | | Silence a valgrind warning about uninitialized memory.
* | lavd/v4l2: fix printing of list_formats tableGiorgio Vazzana2013-03-28
| | | | | | | | | | | | In particular we needed a '\n' at the end of the line when the format is emulated. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/v4l2: replace ioctl() with v4l2_ioctl()Giorgio Vazzana2013-03-28
| | | | | | | | | | | | | | This is consistent with the rest of the file and makes listing of emulated formats possible when ffmpeg is compiled with libv4l2. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dshow_pin: dont return a value from a void functionMichael Niedermayer2013-03-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/v4l2: honor previously selected input channelGiorgio Vazzana2013-03-23
| | | | | | | | | | | | | | An input channel could have been previously set with another application, like v4l2-ctl, so if no input channel is specified use the previosly selected one. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/dshow: fix style and typo recently introduced.Clément Bœsch2013-03-19
| |
* | libavdevice sdl: added window_fullscreen option to switch SDL output into ↵dronus2013-03-18
| | | | | | | | fullscreen mode
* | sndio_dec: add missing #include for av_gettime()Paul B Mahol2013-03-17
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>