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
Steve Lhomme
VLC
Commits
e00637cf
Commit
e00637cf
authored
Dec 21, 2004
by
gbazin
Browse files
* modules/codec/ffmpeg/video_filter.c: I420 -> YUVA conversion.
parent
7e0f674a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/ffmpeg/video_filter.c
View file @
e00637cf
...
...
@@ -287,6 +287,12 @@ static picture_t *Process( filter_t *p_filter, picture_t *p_pic )
p_dst
+=
i_dst_pitch
;
}
}
else
if
(
p_filter
->
fmt_out
.
video
.
i_chroma
==
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'A'
)
)
{
/* Special case for YUVA */
memset
(
p_pic_dst
->
p
[
3
].
p_pixels
,
0xFF
,
p_pic_dst
->
p
[
3
].
i_pitch
*
p_pic_dst
->
p
[
3
].
i_lines
);
}
p_pic_dst
->
date
=
p_pic
->
date
;
p_pic_dst
->
b_force
=
p_pic
->
b_force
;
...
...
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