Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
b2c7b5a0
Commit
b2c7b5a0
authored
Sep 12, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/screen/win32.c: proper rgb mask for RV24.
parent
3176e22c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/access/screen/win32.c
modules/access/screen/win32.c
+8
-0
No files found.
modules/access/screen/win32.c
View file @
b2c7b5a0
...
...
@@ -116,6 +116,14 @@ int screen_InitCapture( demux_t *p_demux )
p_data
->
bmi
.
bmiHeader
.
biClrUsed
=
0
;
p_data
->
bmi
.
bmiHeader
.
biClrImportant
=
0
;
if
(
i_chroma
==
VLC_FOURCC
(
'R'
,
'V'
,
'2'
,
'4'
)
)
{
/* This is in BGR format */
p_sys
->
fmt
.
video
.
i_bmask
=
0x00ff0000
;
p_sys
->
fmt
.
video
.
i_gmask
=
0x0000ff00
;
p_sys
->
fmt
.
video
.
i_rmask
=
0x000000ff
;
}
var_Create
(
p_demux
,
"screen-fragment-size"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Get
(
p_demux
,
"screen-fragment-size"
,
&
val
);
...
...
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