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
fec4212d
Commit
fec4212d
authored
May 06, 2019
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/vp9_raw_reorder: reset state when flushing
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
d88193c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
vp9_raw_reorder_bsf.c
libavcodec/vp9_raw_reorder_bsf.c
+11
-0
No files found.
libavcodec/vp9_raw_reorder_bsf.c
View file @
fec4212d
...
...
@@ -385,6 +385,16 @@ fail:
return
err
;
}
static
void
vp9_raw_reorder_flush
(
AVBSFContext
*
bsf
)
{
VP9RawReorderContext
*
ctx
=
bsf
->
priv_data
;
for
(
int
s
=
0
;
s
<
FRAME_SLOTS
;
s
++
)
vp9_raw_reorder_clear_slot
(
ctx
,
s
);
ctx
->
next_frame
=
NULL
;
ctx
->
sequence
=
0
;
}
static
void
vp9_raw_reorder_close
(
AVBSFContext
*
bsf
)
{
VP9RawReorderContext
*
ctx
=
bsf
->
priv_data
;
...
...
@@ -402,6 +412,7 @@ const AVBitStreamFilter ff_vp9_raw_reorder_bsf = {
.
name
=
"vp9_raw_reorder"
,
.
priv_data_size
=
sizeof
(
VP9RawReorderContext
),
.
close
=
&
vp9_raw_reorder_close
,
.
flush
=
&
vp9_raw_reorder_flush
,
.
filter
=
&
vp9_raw_reorder_filter
,
.
codec_ids
=
vp9_raw_reorder_codec_ids
,
};
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