Hans Verkuil [Mon, 23 Jul 2012 09:56:10 +0000 (11:56 +0200)]
v4l2-compliance: improve std input/output mask checks.
Make sure that ENUMSTD returns the same mask as is specified by
ENUMINPUT/OUTPUT. Also, test that QUERYSTD isn't supported for outputs.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 09:01:13 +0000 (11:01 +0200)]
v4l2-ctl: only show common options by default.
And add new help options to see the various help categories. This should
simplify the use of v4l2-ctl.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 08:46:50 +0000 (10:46 +0200)]
v4l2-compliance: improve querycap test, add missing newlines.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Sylwester Nawrocki [Sun, 22 Jul 2012 20:42:02 +0000 (22:42 +0200)]
v4l2-ctl: Add support for VIDIOC_G/S_SELECTION ioctls
This patch adds following commands for the selection API ioctls:
--get-selection, --set-selection,
--get-selection-output, --set-selection-output.
All supported selection rectangles at a video node are now also
displayed in case of --all command.
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 08:02:00 +0000 (10:02 +0200)]
v4l2-compliance: Add commas to increase readability of displayed result
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 20 Jul 2012 13:03:10 +0000 (15:03 +0200)]
qv4l2: add support for sliced VBI.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 20 Jul 2012 10:47:56 +0000 (12:47 +0200)]
qv4l2: add raw VBI support.
Note: the slicing code was copied from zvbi. Eventually I intend to move the
slicing code to a library. It effectively transforms raw VBI into sliced VBI,
so that should make it very easy for applications to handle both raw and
sliced VBI.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Jul 2012 11:42:44 +0000 (13:42 +0200)]
v4l2-compliance: add mem2mem support.
Some tests needed to be modified for mem2mem devices: such devices have
per-filehandle state so certain tests that check how two open device nodes
interact with one another are not valid for this class of devices.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 16 Jul 2012 13:52:04 +0000 (15:52 +0200)]
v4l2-compliance: use device_caps instead of capabilities.
Fix some querycap tests.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 16 Jul 2012 13:50:46 +0000 (15:50 +0200)]
v4l2-compliance: fix timings_cap test.
If the driver doesn't implement VIDIOC_DV_TIMINGS_CAP, then this test
failed when it should have returned OK.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 11 Jul 2012 12:06:56 +0000 (14:06 +0200)]
v4l2-compliance: improve DV timings checks.
Add tests for ENUM_DV_TIMINGS, QUERY_DV_TIMINGS and DV_TIMINGS_CAP.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Mon, 9 Jul 2012 11:23:41 +0000 (13:23 +0200)]
libv4l2: dqbuf: Don't requeue buffers which we are returning to the app
We retry dqbuf when we get a short frame or a decode error, but if the retries
are exhausted and the frame is short we will return the (short) buffer to the
caller, since returning a short frame is better then not returning anything
at all.
This means that we must not re-queue it then! Also see:
https://bugzilla.redhat.com/show_bug.cgi?id=838279
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 Jul 2012 08:13:11 +0000 (10:13 +0200)]
libv4l2: Ensure we always set buf->length when converting
Some apps blindly use buf->length when calling munmap, even if a previous
call (ie dqbuf) on the buffer failed. We used to not set buf->length to
our conversion buffer length when the actual ioctl call to the device, or
the format conversion failed.
When a dqbuf succeeded and the conversion failed this which would cause
us to leave buf->length set to the real buffer length rather then the
conversion buffer length, if the app then wrongly uses buf->length (*)
for a munmap we would not recognize this as munmap of the conversion
buffer and pass it through to the real munmap unmapping a part of
our conversion buf without being aware of this!
*) After from the point of the app a failed dqbuf, so it should not trust the
contents of buf at all.
This patch makes things work even for buggy apps, by always setting
buf->length when converting even if things fail.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Gregor Jasny [Sun, 8 Jul 2012 15:07:52 +0000 (17:07 +0200)]
libdvbv5: Fix compilation with hardening flags enabled
dvb-fe.c:874:3: error: format not a string literal and no format arguments [-Werror=format-security]
Standard flags set by dpkg-buildflags:
CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
CPPFLAGS=-D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
LDFLAGS=-Wl,-z,relro
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
André Roth [Fri, 6 Jul 2012 18:23:12 +0000 (15:23 -0300)]
libdvbv5: Support multi section DVB tables, string parsing
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:11 +0000 (15:23 -0300)]
libdvbv5: Fix DiSEqC and LNB handling
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:10 +0000 (15:23 -0300)]
libdvbv5: New DVB table parsing
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:09 +0000 (15:23 -0300)]
libdvbv5: Fix set delsys other than current
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:08 +0000 (15:23 -0300)]
libdvbv5: Fix dvb-file USER CMD
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Fri, 6 Jul 2012 15:13:35 +0000 (17:13 +0200)]
libv4l: use syscall() on kFreeBSD instead of __syscall()
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sat, 23 Jun 2012 15:36:47 +0000 (12:36 -0300)]
[media] keytable: first search table in userdir, then in systemdir
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Sat, 23 Jun 2012 15:36:46 +0000 (12:36 -0300)]
[media] keytable: Preinstall keytables relative to sysconfdir
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Sat, 23 Jun 2012 15:36:45 +0000 (12:36 -0300)]
[media] keytable: Make udev rules dir configurable
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Thu, 5 Jul 2012 11:16:37 +0000 (13:16 +0200)]
v4l2-compliance: improve RDS capability checking.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:54:59 +0000 (13:54 +0200)]
videodev2.h: copy the latest version from the kernel.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:52:48 +0000 (13:52 +0200)]
videodev2.h: update to the latest kernel version.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:52:23 +0000 (13:52 +0200)]
Revert "v4l2-ctl: Add support for printing band info to G_TUNER / G_MODULATOR code"
This reverts commit
7590300afb1c809ca84f58f925653d84422c49ad.
The multiband support is going to be implemented differently.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:52:00 +0000 (13:52 +0200)]
Revert "v4l2-ctl: Add support for setting the band to S_TUNER / S_MODULATOR"
This reverts commit
ac23fa07d11daf1d1f95ea9f73a6dc589e984742.
The multiband support is going to be implemented differently.
Conflicts:
utils/v4l2-ctl/v4l2-ctl.cpp
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:50:32 +0000 (13:50 +0200)]
Revert "v4l2-ctl: Replace fm-eur_us with fm-eur-us"
This reverts commit
d0240d8d081e5c59246d543c9d53091497f229ee.
The multiband support is going to be implemented differently.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Wed, 27 Jun 2012 08:04:16 +0000 (01:04 -0700)]
libdvbv5: Fix compilation on RHEL5
In file included from /usr/include/stdlib.h:438,
from ../../lib/include/dvb-fe.h:26,
from dvb-fe.c:22:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
/usr/include/linux/types.h:27: error: previous declaration of 'gid_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:15: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:16: error: previous declaration of 'nlink_t' was here
/usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
/usr/include/linux/types.h:26: error: previous declaration of 'uid_t' was here
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Brilliantov Kirill Vladimirovich [Wed, 27 Jun 2012 17:33:21 +0000 (19:33 +0200)]
v4l2-compliance: Remove unsupported option from help message
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 27 Jun 2012 17:29:41 +0000 (19:29 +0200)]
buildsystem: Use AM_SILENT_RULES only if available
Automake on RHEL5 is too old for AM_SILENT_RULES.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 27 Jun 2012 08:07:04 +0000 (01:07 -0700)]
libv4l: Compile wrappers only if shared libraries are enabled/available
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 25 Jun 2012 16:34:37 +0000 (18:34 +0200)]
libv4l: Include autoconf config.h file to export logging symbols
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 16:02:15 +0000 (18:02 +0200)]
libdvbv5: constify more parameters and fields
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 16:01:14 +0000 (18:01 +0200)]
libdvbv5: Make dvb_copy_fe_props static
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 15:58:23 +0000 (17:58 +0200)]
libdvbv5: Stricter input validation
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 15:31:48 +0000 (17:31 +0200)]
Ignore generated gettext files
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 15:19:29 +0000 (17:19 +0200)]
libv4l: Properly detect GCC symbol visibility support
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Sun, 24 Jun 2012 10:37:04 +0000 (12:37 +0200)]
v4l2-compliance: fix segfault.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Wed, 20 Jun 2012 16:18:31 +0000 (18:18 +0200)]
qv4l2: Fix out of tree builds
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 20 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Revert "[media] [v4l-utils] Add configure option to allow qv4l2 disable"
This reverts commit
06e5235b4e1514f9234a21942261ba417deb106c.
Another patch to disable qv4l2 was already added via
7fc9fa40e7fd1a72688c6f43fc11e085079b3f0c
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Ezequiel García [Wed, 30 May 2012 12:42:44 +0000 (09:42 -0300)]
[media] [v4l-utils] Add configure option to allow qv4l2 disable
This patch could ease the job of a few people,
by providing an option they actually need.
OpenWRT [1] and Openembedded [2] are already disabling
qv4l2 by applying ugly patches.
[1] https://dev.openwrt.org/browser/packages/libs/libv4l/patches/004-disable-qv4l2.patch
[2] http://patches.openembedded.org/patch/21469/
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Mon, 18 Jun 2012 20:46:31 +0000 (22:46 +0200)]
kFreeBSD: Add stdint.h header file where (u)intXX_t types were used
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:40:22 +0000 (19:40 +0200)]
dvb-utils: enable build on all systems
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:38:45 +0000 (19:38 +0200)]
buildsystem: add contrib/freebsd/include as a header search path when not on Linux
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:29:04 +0000 (19:29 +0200)]
Add generated (k)FreeBSD header files
Gregor Jasny [Mon, 18 Jun 2012 16:53:58 +0000 (18:53 +0200)]
Add (k)FreeBSD header file generation to kernel sync target
Signed-off-by: Gregor Jasny <gregor.jasny@citrix.com>
Gregor Jasny [Mon, 18 Jun 2012 17:28:03 +0000 (19:28 +0200)]
libdvbv5: Properly use and link iconv on non Linux systems
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:21:12 +0000 (19:21 +0200)]
dvbv5-zap: Use O_LARGEFILE only if available
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:01:34 +0000 (19:01 +0200)]
libdvbv5: Rewrite non portable select loop
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 16:59:07 +0000 (18:59 +0200)]
libdvbv5: Use standard compliant header for malloc
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 16:56:58 +0000 (18:56 +0200)]
libdvbv5: Drop duplicate ioctl definitions
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Wed, 13 Jun 2012 12:09:37 +0000 (14:09 +0200)]
v4l2-compliance: remove incorrect timings test.
The 'reserved' field is a union with a struct. So don't test whether 'reserved'
was zeroed.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 13 Jun 2012 11:47:44 +0000 (13:47 +0200)]
qv4l2: fix incorrect handling of return value of v4lconvert_convert
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Mon, 11 Jun 2012 19:59:25 +0000 (21:59 +0200)]
libv4l: Move dev ops to libv4lconvert
As discussed with Hans de Goede, this patch moves the plugin dev-ops
structure to libv4lconvert. It was also renamed to libv4l_dev_ops.
As a positive side effect we restored SONAME compatibility with
the 0.8.x releases.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 11 Jun 2012 19:21:10 +0000 (21:21 +0200)]
qv4l2: Render icon for 32x32 pixel (was 32x36)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 11 Jun 2012 19:00:17 +0000 (21:00 +0200)]
rds: Build only if linux/i2c-dev.h header is present
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 11 Jun 2012 18:29:44 +0000 (20:29 +0200)]
contrib/test: Add to build system
During the conversion to autotools the contrib/test Makefile
got lost. Re-add the test tools. Thanks to Franck Bourdonnec
for pointing this out.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 20:07:52 +0000 (17:07 -0300)]
[media] libdvbv5: constify and hide dvb_sat_lnb
[mchehab@redhat.com: patch rebased to apply against the latest version]
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Mon, 11 Jun 2012 17:09:20 +0000 (19:09 +0200)]
ir-keytable: Add support for RC-5-SZ protocol
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Mon, 11 Jun 2012 06:57:46 +0000 (08:57 +0200)]
qv4l2: fix vbi display.
Rather than (ab)use the normal libv4l picture format conversion, just do it
in a separate capVbiFrame method.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 13:25:28 +0000 (15:25 +0200)]
qv4l2: add basic raw VBI support.
Just show the VBI data as a greyscale picture.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 13:04:39 +0000 (15:04 +0200)]
libv4l*: add V4L2_CAP_DEVICE_CAPS support.
If V4L2_CAP_DEVICE_CAPS is set, then use device_caps instead of capabilities
since that gives the exact capabilities of the device node.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 11:41:51 +0000 (13:41 +0200)]
qv4l2: don't show afc if signal strength == 0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 09:44:59 +0000 (11:44 +0200)]
qv4l2: add support for radio modulators.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 09:25:35 +0000 (11:25 +0200)]
qv4l2: add channel detection.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 08:51:05 +0000 (10:51 +0200)]
qv4l2: add audio mode support.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 08:29:51 +0000 (10:29 +0200)]
qv4l2: improve statusbar behavior.
When capturing don't overwrite the statusbar with the frame number/rate if
it is showing something else (like a statustip from a control).
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 08:17:13 +0000 (10:17 +0200)]
qv4l2: improve frequency and radio support.
Enter frequency in MHz (TV) or kHz (radio) rather than the v4l2_frequency value.
Disable/remove all video related items when a radio device is selected.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 07:31:58 +0000 (09:31 +0200)]
qv4l2: fix interval updating, use device_caps, handle conversion errors.
Choosing a new interval when capturing failed (of course), but the combobox
wasn't put back to the old position.
Now support device_caps for better capability reporting.
If a format can't be converted, then still memcpy it: that's better than a
black window.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 6 Jun 2012 22:16:12 +0000 (00:16 +0200)]
v4l2-compliance: add tests for VIDIOC_REQBUFS/CREATE_BUFS.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 5 Jun 2012 23:26:35 +0000 (01:26 +0200)]
libv4lconvert: fix setting/testing of supported_src_formats
data->supported_src_formats is a uint64_t.
This code:
data->supported_src_formats & (1 << i)
does not work since (1 << i) is a 32-bit value. It should be (1ULL << i) instead.
Interesting fact: on a 64-bit intel box (1 << 33) does a rotate, not a shift.
So (1 << 33) == 2.
On a 32-bit powerpc platform it is a proper shift, so (1 << 33) == 0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 5 Jun 2012 22:10:14 +0000 (00:10 +0200)]
v4l2-compliance: fix signed/unsigned comparison warnings.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 5 Jun 2012 20:32:04 +0000 (22:32 +0200)]
libv4lconvert: add support for Y4 and Y6 pixel formats.
Yes, libv4lconvert now supports bw-qcam!
How could we ever have done without it? :-)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 5 Jun 2012 14:45:41 +0000 (16:45 +0200)]
v4l2-ctl: improve --set-dv-bt-timings.
Thanks to Mats Randgaard for this patch.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Mauro Carvalho Chehab [Mon, 4 Jun 2012 22:18:16 +0000 (19:18 -0300)]
libdvbv5: Fix tuning
The previous patch broke DVB tuning. fix it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 4 Jun 2012 17:50:53 +0000 (14:50 -0300)]
libdvbv5: Add a function to fill the per-delsys properties
This function were currently part of the dvb_set_sys() logic. Move it into
a separate function, in order to allow it to be re-used by the DVB scan
tools.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 4 Jun 2012 12:38:32 +0000 (09:38 -0300)]
dvbv5-scan: Avoid segfault for the first frequency on the table
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Sat, 2 Jun 2012 12:46:17 +0000 (14:46 +0200)]
v4l2-ctl: Replace fm-eur_us with fm-eur-us
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 2 Jun 2012 12:07:51 +0000 (14:07 +0200)]
v4l2-ctl: Make --help output fit in 80 columns
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 27 May 2012 09:45:13 +0000 (11:45 +0200)]
v4l2-ctl: Add support for setting the band to S_TUNER / S_MODULATOR
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 27 May 2012 08:33:21 +0000 (10:33 +0200)]
v4l2-ctl: Add support for printing band info to G_TUNER / G_MODULATOR code
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 2 Jun 2012 09:25:40 +0000 (11:25 +0200)]
v4l2-ctl: Add support for new hwseek tuner capabilities
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 2 Jun 2012 09:11:53 +0000 (11:11 +0200)]
Add HW_SEEK and TUNER_BAND capabilities to videodev2.h
Bring in the pending (reviewed and acked) changes from:
http://git.linuxtv.org/hverkuil/media_tree.git/shortlog/refs/heads/bands
As these are needed to add support for these new API-s to v4l2-ctl.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Ezequiel Garcia [Wed, 30 May 2012 13:42:44 +0000 (10:42 -0300)]
Add configure option to allow qv4l2 disable
This patch could ease the job of a few people,
by providing an option they actually need.
OpenWRT [1] and Openembedded [2] are already disabling
qv4l2 by applying ugly patches.
[1] https://dev.openwrt.org/browser/packages/libs/libv4l/patches/004-disable-qv4l2.patch
[2] http://patches.openembedded.org/patch/21469/
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 15:21:40 +0000 (12:21 -0300)]
libdvbv5: fix the DVB write routine
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 14:23:25 +0000 (11:23 -0300)]
libdvbv5: Fix DiSEqC output
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 14:15:56 +0000 (11:15 -0300)]
utils/dvb: Handle a calloc() error
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 12:54:23 +0000 (09:54 -0300)]
libdvbv5: Improve INFO messages when emulation mode is enabled
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 12:18:26 +0000 (09:18 -0300)]
libdvbv5: Verbose DiSEqC commangs, when verbose is on
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 11:50:31 +0000 (08:50 -0300)]
dvb: Allow forcing the usage of DVBv3 calls on dvbv5-scan and dvbv5-zap
Forcing the usage of DVBv3 API allows testing the backward compatibility
of the application with Kernels before 3.3.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 29 May 2012 21:10:13 +0000 (18:10 -0300)]
libdvbv5: Add ATSC-MH API bits
Adds the missing bits for ATSC-MH. Not tested though.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 29 May 2012 20:55:51 +0000 (17:55 -0300)]
libdvbv5: Fix DVB-S2/DVB-T2 support if DVB version is < 5.5
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 29 May 2012 20:44:33 +0000 (17:44 -0300)]
dvb: Update README to reflect its tests with DVB-S
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Thu, 24 May 2012 21:02:10 +0000 (18:02 -0300)]
[media] libdvbv5: Fix LNBf offset calculus
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Thu, 24 May 2012 21:02:09 +0000 (18:02 -0300)]
[media] libdvbv5: Fix tuning command
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Mon, 28 May 2012 12:33:47 +0000 (14:33 +0200)]
v4l2-ctl: split up the huge usage message.
Split up the usage message in easier to understand chunks, and only display
the relevant chunk where possible.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Sat, 26 May 2012 11:19:13 +0000 (13:19 +0200)]
Remove config.h.in from git
It is auto-generated so it does not belong in git
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 26 May 2012 11:10:02 +0000 (13:10 +0200)]
v4l2-ctl: Add a --tuner-index cmdline option
This allows doing a g_tuner, s_tuner, g_modulator, s_modulator, g_frequency,
s_frequency or s_hw_freq_seek operation on a different tuner/modulator
then the one with index 0.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>