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
eb1d1c76
Commit
eb1d1c76
authored
Jul 27, 2018
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9_superframe_split_bsf: implement a AVBSFContext.flush() callback
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
d6321851
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
vp9_superframe_split_bsf.c
libavcodec/vp9_superframe_split_bsf.c
+7
-0
No files found.
libavcodec/vp9_superframe_split_bsf.c
View file @
eb1d1c76
...
...
@@ -131,6 +131,12 @@ fail:
return
ret
;
}
static
void
vp9_superframe_split_flush
(
AVBSFContext
*
ctx
)
{
VP9SFSplitContext
*
s
=
ctx
->
priv_data
;
av_packet_free
(
&
s
->
buffer_pkt
);
}
static
void
vp9_superframe_split_uninit
(
AVBSFContext
*
ctx
)
{
VP9SFSplitContext
*
s
=
ctx
->
priv_data
;
...
...
@@ -140,6 +146,7 @@ static void vp9_superframe_split_uninit(AVBSFContext *ctx)
const
AVBitStreamFilter
ff_vp9_superframe_split_bsf
=
{
.
name
=
"vp9_superframe_split"
,
.
priv_data_size
=
sizeof
(
VP9SFSplitContext
),
.
flush
=
vp9_superframe_split_flush
,
.
close
=
vp9_superframe_split_uninit
,
.
filter
=
vp9_superframe_split_filter
,
.
codec_ids
=
(
const
enum
AVCodecID
[]){
AV_CODEC_ID_VP9
,
AV_CODEC_ID_NONE
},
...
...
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