- 29 Oct, 2014 2 commits
-
-
James Almer authored
No need to keep the old symbols around until a major bump since lavd functions with the avpriv_ prefix were never exposed. Signed-off-by:
James Almer <jamrial@gmail.com> Reviewed-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com> Reviewed-by:
Stefano Sabatini <stefasab@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andrey Utkin authored
Signed-off-by:
Carl Eugen Hoyos <cehoyos@ag.or.at>
-
- 05 Sep, 2014 6 commits
-
-
Giorgio Vazzana authored
Additionally, make sure a buffer gets enqueued again (even in error paths) after it has been succesfully dequeued. Tested-by:
Dmitry Volyntsev <xeioexception@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Giorgio Vazzana authored
We can avoid passing file descriptor fd explicitely. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Giorgio Vazzana authored
We can avoid passing file descriptor fd explicitely. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Giorgio Vazzana authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Giorgio Vazzana authored
There is no need to pass fd as a second parameter. Additionally remove unneeded curly braces. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Giorgio Vazzana authored
No functional change in the code. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Sep, 2014 1 commit
-
-
Dmitry Volyntsev authored
Signed-off-by:
Dmitry Volytnsev <xeioexception@gmail.com> Reviewed-by:
Benoit Fouet <benoit.fouet@free.fr> Reviewed-by:
Giorgio Vazzana <mywing81@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Aug, 2014 2 commits
-
-
Michael Niedermayer authored
Found-by: carl Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andre Wolokita authored
As of September 14 2012, v4l_enumstd() will return ENODATA when a device's std field is set to 0. That is, the device does not have a standard format. In order to properly handle this case, v4l2_set_parameters should catch the ENODATA code and break instead of failing. Below is the v4l2-core commit describing this change. >>commit a5338190efc7cfa8c99a6856342a77d21c9a05cf >>Author: Hans Verkuil <hans.verkuil@cisco.com> >>Date: Fri Sep 14 06:45:43 2012 -0300 >> >> [media] v4l2-core: tvnorms may be 0 for a given input, handle that case >> >> Currently the core code looks at tvnorms to see whether ENUMSTD >> or G_PARM should be enabled. This is not a good check for drivers >> that support the STD API on one input and the DV Timings API on another. >> In that case tvnorms may be 0. >> Instead check whether s_std is present (for ENUMSTD) or whether g_std or >> current_norm is present for g_parm. >> Also, in the enumstd core function return ENODATA if tvnorms is 0, >> because in that case the current input does not support the STD API >> and ENUMSTD should return ENODATA for that. >> >> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> >> Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi> >> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-
- 15 Aug, 2014 1 commit
-
-
Gabriel Dume authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 22 May, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 May, 2014 1 commit
-
-
Olivier Langlois authored
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>
-
- 28 Apr, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Mar, 2014 1 commit
-
-
Lukasz Marek authored
Signed-off-by:
Lukasz Marek <lukasz.m.luki@gmail.com>
-
- 01 Feb, 2014 2 commits
-
-
Michael Niedermayer authored
It might be unset on some platforms with some drivers and some input Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
There is evidence that some drivers do not set a valid value See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718805Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 05 Jan, 2014 1 commit
-
-
Federico Simoncelli authored
Setting the v4l2 device parameters may influence video properties such as width, height and pixel format. This patch moves v4l2_set_parameters to be executed before fetching the video properties, avoiding errors such as (pal vs ntsc): The v4l2 frame is 829440 bytes, but 691200 bytes are expected Signed-off-by:
Federico Simoncelli <fsimonce@redhat.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 27 Oct, 2013 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 17 Sep, 2013 1 commit
-
-
mrlika authored
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>
-
- 08 Sep, 2013 1 commit
-
-
Giorgio Vazzana authored
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>
-
- 01 Sep, 2013 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #2882. Analyzed and tested by William C Bonner.
-
- 07 Aug, 2013 1 commit
-
-
Rémi Denis-Courmont authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 02 Aug, 2013 1 commit
-
-
Diego Biurrun authored
-
- 22 May, 2013 1 commit
-
-
Clément Bœsch authored
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.
-
- 19 May, 2013 1 commit
-
-
Clément Bœsch authored
This will be shared with the output device.
-
- 03 May, 2013 1 commit
-
-
Diego Biurrun authored
-
- 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>
-
- 23 Mar, 2013 1 commit
-
-
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>
-
- 16 Mar, 2013 1 commit
-
-
Giorgio Vazzana authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Mar, 2013 2 commits
-
-
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 1 commit
-
-
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>
-