- 01 Apr, 2013 1 commit
-
-
Nicolas George authored
Silence a valgrind warning about uninitialized memory.
-
- 28 Mar, 2013 2 commits
-
-
Giorgio Vazzana authored
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>
-
Giorgio Vazzana authored
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>
-
- 25 Mar, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 24 Mar, 2013 1 commit
-
-
Martin Storsjö authored
This is necessary after the old av_gettime in libavformat was dropped. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 23 Mar, 2013 2 commits
-
-
Martin Storsjö authored
This is necessary after the old av_gettime in libavformat was dropped. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Giorgio Vazzana authored
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>
-
- 19 Mar, 2013 1 commit
-
-
Clément Bœsch authored
-
- 18 Mar, 2013 1 commit
-
-
dronus authored
-
- 17 Mar, 2013 1 commit
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 16 Mar, 2013 1 commit
-
-
Giorgio Vazzana authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 15 Mar, 2013 1 commit
-
-
Nicolas George authored
Fix a memory leak because the compat implementation of AV_BUFFERSINK_FLAG_PEEK is not identical to the previous one.
-
- 14 Mar, 2013 1 commit
-
-
Michael Niedermayer authored
Our previous release (1.1) contained a version 54 libavdevice and this version here is not ABI compatible thus a bump is needed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 13 Mar, 2013 1 commit
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 12 Mar, 2013 3 commits
-
-
Nicolas George authored
-
Giorgio Vazzana authored
The current code returned a period=0, resulting in identical pts for all frames after time-filtering. This is because AV_TIME_BASE_Q={1, AV_TIME_BASE} and not {AV_TIME_BASE, 1}. With this patch the correct period in microseconds is computed.
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 09 Mar, 2013 2 commits
-
-
Giorgio Vazzana authored
struct buff_data contains a pointer to struct video_data, so passing the file descriptor again is redundant. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Giorgio Vazzana authored
In particular: 1) save errno before it (possibly) gets overwritten by other calls 2) do not forget to enqueue the buffer again in case of error Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 08 Mar, 2013 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
This will allow us to avoid copying the packets in many cases. This breaks ABI.
-
- 02 Mar, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 01 Mar, 2013 1 commit
-
-
Giorgio Vazzana authored
lavd/v4l2: copy frames into normally allocated packets whenever there is just one buffer left available This will avoid the possibility that we dequeue more buffers than we have obtained from the v4l2 driver. Fixes ticket #1570 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Feb, 2013 1 commit
-
-
Michael Niedermayer authored
This ensures that fps and other values are estimated correctly, the probesize also is intended to limit disk/protocol reads which does not apply to lavfi inputs at all. Fixes Ticket1051 Something similar could be usefull to other input devices Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 17 Feb, 2013 3 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
- 14 Feb, 2013 1 commit
-
-
rogerdpack authored
Also cleanup exported symbols Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 10 Feb, 2013 2 commits
-
-
Stefano Sabatini authored
Set ret to 0 before enumerating standards in v4l2_set_parameters(), avoid use of uninitialized variable. Regression introduced in 60950adc.
-
Stefano Sabatini authored
In particular, avoid use of non-thread-safe strerror(), and store errno before calling av_log().
-
- 02 Feb, 2013 1 commit
-
-
Nicolas George authored
-
- 31 Jan, 2013 2 commits
-
-
Giorgio Vazzana authored
Generally speaking, there are two types of v4l2 devices [1]: 1) devices that support a standard, like PAL or NTFS (tv cards, for example). For this class of devices the framerate is fixed by the standard (for example PAL uses 25 fps) and the v4l2 driver cannot usually negotiate a different framerate (unless it can skip frames on the driver side, to save I/O bandwidth). 2) devices for which the notion of standard does not make sense (webcams, for example). For these devices it is usually possibile to request a desidered framerate. In either case, the desidered frame rate can be requested when the VIDIOC_G_PARM ioctl returns the V4L2_CAP_TIMEPERFRAME flag in the capability field. Currently the code does not check for V4L2_CAP_TIMEPERFRAME and supports only the second category of devices, returning a time per frame of 0/0 for devices in the first group that do not permit to negotiate the framerate. This patch adds support to read the correct framerate in all cases. [1] http://linuxtv.org/downloads/v4l-dvb-apis/standard.htmlSigned-off-by: Stefano Sabatini <stefasab@gmail.com>
-
Giorgio Vazzana authored
Since the user is expected to choose the standard by name (with -standard option), add the possibility to list all the supported standards. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
-
- 27 Jan, 2013 3 commits
-
-
Stephan Hilb authored
Because libavdevice/v4l2 is a demuxer, it makes sense to look for decoders instead of encoders when listing the formats supported by the device. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
-
Giorgio Vazzana authored
After opening the device, the first thing we should do is selecting the input. This is because the image formats (VIDIOC_ENUM_FMT ioctl) and the standards (VIDIOC_ENUMSTD ioctl) supported may depend on the selected input ([1] and [2]). [1] http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-enum-fmt.html [2] http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-enumstd.htmlSigned-off-by: Stefano Sabatini <stefasab@gmail.com>
-
Stefano Sabatini authored
Make device_try_init() return an error value, and allow to properly report errors which are not due to a wrong pixel/codec configuration. In particular, report intelligible feedback in case of busy device.
-
- 17 Jan, 2013 1 commit
-
-
Luca Barbato authored
Upstream decided to split the paranoia interface and move the headers accordingly.
-
- 16 Jan, 2013 3 commits
-
-
Nicolas George authored
Fix a warning and random failures.
-
Stephan Hilb authored
Reviewed-by: Stefano Sabatini
-
Stephan Hilb authored
Reviewed-by: Stefano Sabatini
-