Commit fffde282 authored by dionoea's avatar dionoea
Browse files

V4L2_CAP_HW_FREQ_SEEK is new in 2.6.27, so don't use it if compiling with older kernel headers.

parent b045fd3d
......@@ -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" );
if( p_sys->dev_cap.capabilities & V4L2_CAP_HW_FREQ_SEEK )
msg_Dbg( p_obj, "device supports hardware frequency seeking" );
if( p_sys->dev_cap.capabilities & V4L2_CAP_VBI_CAPTURE )
msg_Dbg( p_obj, "device support raw VBI capture" );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment