[vlc-devel] commit: V4L2_CAP_HW_FREQ_SEEK is new in 2.6.27, so don' t use it if compiling with older kernel headers. (Antoine Cellerier )
git version control
git at videolan.org
Mon Sep 28 14:09:42 CEST 2009
vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Sep 28 14:09:11 2009 +0200| [fffde282a4a18839f5c67ba64a4968b753e53b63] | committer: Antoine Cellerier
V4L2_CAP_HW_FREQ_SEEK is new in 2.6.27, so don't use it if compiling with older kernel headers.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fffde282a4a18839f5c67ba64a4968b753e53b63
---
modules/access/v4l2.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/access/v4l2.c b/modules/access/v4l2.c
index cb34458..0ead7bf 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -2413,8 +2413,10 @@ static bool ProbeVideoDev( vlc_object_t *p_obj, demux_sys_t *p_sys,
if( p_sys->dev_cap.capabilities & V4L2_CAP_RDS_CAPTURE )
msg_Dbg( p_obj, "device supports RDS" );
+#ifdef V4L2_CAP_HW_FREQ_SEEK
if( p_sys->dev_cap.capabilities & V4L2_CAP_HW_FREQ_SEEK )
msg_Dbg( p_obj, "device supports hardware frequency seeking" );
+#endif
if( p_sys->dev_cap.capabilities & V4L2_CAP_VBI_CAPTURE )
msg_Dbg( p_obj, "device support raw VBI capture" );
More information about the vlc-devel
mailing list