Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fb266f59
Commit
fb266f59
authored
Dec 04, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: show when has_b_frames is being increased.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7f92f3d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
h264.c
libavcodec/h264.c
+2
-1
No files found.
libavcodec/h264.c
View file @
fb266f59
...
...
@@ -1532,8 +1532,9 @@ static void decode_postinit(H264Context *h, int setup_finished){
else
if
(
out_of_order
&&
pics
-
1
==
s
->
avctx
->
has_b_frames
&&
s
->
avctx
->
has_b_frames
<
MAX_DELAYED_PIC_COUNT
)
{
if
(
invalid
+
cnt
<
MAX_DELAYED_PIC_COUNT
)
{
if
(
cnt
>
s
->
avctx
->
has_b_frames
)
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Increasing reorder buffer to %d
\n
"
,
cnt
);
s
->
avctx
->
has_b_frames
=
FFMAX
(
s
->
avctx
->
has_b_frames
,
cnt
);
av_log
(
0
,
0
,
"hbf: %d
\n
"
,
s
->
avctx
->
has_b_frames
);
}
s
->
low_delay
=
0
;
}
else
if
(
s
->
low_delay
&&
...
...
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