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
fef50057
Commit
fef50057
authored
Jul 25, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/XVideo: minor simplification
parent
fce4f9c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+4
-4
No files found.
modules/video_output/xcb/xvideo.c
View file @
fef50057
...
...
@@ -340,11 +340,11 @@ static int Open (vlc_object_t *obj)
/* */
video_format_t
fmt
=
vd
->
fmt
;
bool
found_adaptor
=
false
;
p_sys
->
port
=
0
;
xcb_xv_adaptor_info_iterator_t
it
;
for
(
it
=
xcb_xv_query_adaptors_info_iterator
(
adaptors
);
it
.
rem
>
0
&&
!
found_adaptor
;
it
.
rem
>
0
;
xcb_xv_adaptor_info_next
(
&
it
))
{
const
xcb_xv_adaptor_info_t
*
a
=
it
.
data
;
...
...
@@ -492,15 +492,15 @@ static int Open (vlc_object_t *obj)
}
}
xcb_xv_ungrab_port
(
conn
,
p_sys
->
port
,
XCB_CURRENT_TIME
);
p_sys
->
port
=
0
;
msg_Dbg
(
vd
,
"no usable X11 visual"
);
continue
;
/* No workable XVideo format (visual/depth) */
created_window:
found_adaptor
=
true
;
break
;
}
free
(
adaptors
);
if
(
!
found_adaptor
)
if
(
!
p_sys
->
port
)
{
msg_Err
(
vd
,
"no available XVideo adaptor"
);
goto
error
;
...
...
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