Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
57a25813
Commit
57a25813
authored
Mar 03, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: remove broken VBI in user pointer mode (refs #8262)
parent
8d5cdf7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
27 deletions
+11
-27
modules/access/v4l2/demux.c
modules/access/v4l2/demux.c
+11
-27
No files found.
modules/access/v4l2/demux.c
View file @
57a25813
...
@@ -537,15 +537,6 @@ static void *UserPtrThread (void *data)
...
@@ -537,15 +537,6 @@ static void *UserPtrThread (void *data)
ufd
[
0
].
fd
=
fd
;
ufd
[
0
].
fd
=
fd
;
ufd
[
0
].
events
=
POLLIN
;
ufd
[
0
].
events
=
POLLIN
;
#ifdef ZVBI_COMPILED
if
(
sys
->
vbi
!=
NULL
)
{
ufd
[
1
].
fd
=
GetFdVBI
(
sys
->
vbi
);
ufd
[
1
].
events
=
POLLIN
;
numfds
++
;
}
#endif
int
canc
=
vlc_savecancel
();
int
canc
=
vlc_savecancel
();
for
(;;)
for
(;;)
{
{
...
@@ -566,8 +557,6 @@ static void *UserPtrThread (void *data)
...
@@ -566,8 +557,6 @@ static void *UserPtrThread (void *data)
vlc_cleanup_pop
();
vlc_cleanup_pop
();
canc
=
vlc_savecancel
();
canc
=
vlc_savecancel
();
if
(
ufd
[
0
].
revents
)
{
if
(
v4l2_ioctl
(
fd
,
VIDIOC_DQBUF
,
&
buf
)
<
0
)
if
(
v4l2_ioctl
(
fd
,
VIDIOC_DQBUF
,
&
buf
)
<
0
)
{
{
msg_Err
(
demux
,
"cannot dequeue buffer: %m"
);
msg_Err
(
demux
,
"cannot dequeue buffer: %m"
);
...
@@ -582,11 +571,6 @@ static void *UserPtrThread (void *data)
...
@@ -582,11 +571,6 @@ static void *UserPtrThread (void *data)
es_out_Control
(
demux
->
out
,
ES_OUT_SET_PCR
,
block
->
i_pts
);
es_out_Control
(
demux
->
out
,
ES_OUT_SET_PCR
,
block
->
i_pts
);
es_out_Send
(
demux
->
out
,
sys
->
es
,
block
);
es_out_Send
(
demux
->
out
,
sys
->
es
,
block
);
}
}
#ifdef ZVBI_COMPILED
if
(
sys
->
vbi
!=
NULL
&&
ufd
[
1
].
revents
)
GrabVBI
(
demux
,
sys
->
vbi
);
#endif
}
vlc_restorecancel
(
canc
);
/* <- hmm, this is purely cosmetic */
vlc_restorecancel
(
canc
);
/* <- hmm, this is purely cosmetic */
return
NULL
;
return
NULL
;
}
}
...
...
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