Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b2c7b5a0
Commit
b2c7b5a0
authored
Sep 12, 2004
by
gbazin
Browse files
* modules/access/screen/win32.c: proper rgb mask for RV24.
parent
3176e22c
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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