Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
3963704b
Commit
3963704b
authored
Oct 28, 2010
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
modules/packetizer/h264.c
modules/packetizer/h264.c
+1
-0
No files found.
modules/packetizer/h264.c
View file @
3963704b
...
@@ -916,6 +916,7 @@ static void PutSPS( decoder_t *p_dec, block_t *p_frag )
...
@@ -916,6 +916,7 @@ static void PutSPS( decoder_t *p_dec, block_t *p_frag )
/* b_frame_mbs_only */
/* b_frame_mbs_only */
p_sys
->
b_frame_mbs_only
=
bs_read
(
&
s
,
1
);
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
)
if
(
p_sys
->
b_frame_mbs_only
==
0
)
{
{
bs_skip
(
&
s
,
1
);
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