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
3963704b
Commit
3963704b
authored
Oct 28, 2010
by
sebastien
Browse files
h264 packetizer : correctly compute picture height in case of interlaced video.
See frame_mbs_only_flag chapter 7.4.2.1
parent
16d8baab
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/packetizer/h264.c
View file @
3963704b
...
...
@@ -916,6 +916,7 @@ static void PutSPS( decoder_t *p_dec, block_t *p_frag )
/* b_frame_mbs_only */
p_sys
->
b_frame_mbs_only
=
bs_read
(
&
s
,
1
);
p_dec
->
fmt_out
.
video
.
i_height
*=
(
2
-
p_sys
->
b_frame_mbs_only
);
if
(
p_sys
->
b_frame_mbs_only
==
0
)
{
bs_skip
(
&
s
,
1
);
...
...
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