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
b6e0ca0b
Commit
b6e0ca0b
authored
Jul 22, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/screen: fix misleading comments
parent
2b67ce72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/access/screen/xcb.c
modules/access/screen/xcb.c
+3
-2
No files found.
modules/access/screen/xcb.c
View file @
b6e0ca0b
...
...
@@ -382,6 +382,7 @@ static void Demux (void *data)
}
}
/* Capture screen */
xcb_get_image_reply_t
*
img
;
img
=
xcb_get_image_reply
(
conn
,
xcb_get_image
(
conn
,
XCB_IMAGE_FORMAT_Z_PIXMAP
,
root
,
...
...
@@ -389,12 +390,12 @@ static void Demux (void *data)
if
(
img
==
NULL
)
return
;
/* Send block - zero copy */
block_t
*
block
=
block_heap_Alloc
(
img
,
xcb_get_image_data
(
img
),
xcb_get_image_data_length
(
img
));
if
(
block
==
NULL
)
return
;
/* Update elementary stream format (if needed) */
vlc_mutex_lock
(
&
p_sys
->
lock
);
if
(
w
!=
p_sys
->
cur_w
||
h
!=
p_sys
->
cur_h
)
{
...
...
@@ -408,7 +409,7 @@ static void Demux (void *data)
}
}
/*
Capture screen
*/
/*
Send block - zero copy
*/
if
(
p_sys
->
es
!=
NULL
)
{
if
(
p_sys
->
pts
==
VLC_TS_INVALID
)
...
...
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