Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
8eb693be
Commit
8eb693be
authored
Dec 14, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Extend pvr support to non-ivtv v4l2 cards (e.g. cx88-blackbird) by Dennis Lou.
parent
7d6fd3cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
modules/access/pvr.c
modules/access/pvr.c
+7
-3
No files found.
modules/access/pvr.c
View file @
8eb693be
...
...
@@ -841,17 +841,21 @@ static int Open( vlc_object_t * p_this )
result
=
ioctl
(
p_sys
->
i_fd
,
VIDIOC_QUERYCAP
,
&
device_capability
);
if
(
result
<
0
)
{
msg_Err
(
p_access
,
"unknown ivtv driver version in use"
);
msg_Err
(
p_access
,
"unknown ivtv
/pvr
driver version in use"
);
Close
(
VLC_OBJECT
(
p_access
)
);
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_access
,
"ivtv driver version %02x.%02x.%02x"
,
msg_Dbg
(
p_access
,
"%s driver (%s on %s) version %02x.%02x.%02x"
,
device_capability
.
driver
,
device_capability
.
card
,
device_capability
.
bus_info
,
(
device_capability
.
version
>>
16
)
&
0xff
,
(
device_capability
.
version
>>
8
)
&
0xff
,
(
device_capability
.
version
)
&
0xff
);
if
(
device_capability
.
version
>=
0x000800
)
if
(
strncmp
(
(
char
*
)
device_capability
.
driver
,
"ivtv"
,
4
)
||
device_capability
.
version
>=
0x000800
)
{
/* Drivers > 0.8.0 use v4l2 API instead of IVTV ioctls */
msg_Dbg
(
p_access
,
"this driver uses the v4l2 API"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment