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
c96a9636
Commit
c96a9636
authored
Nov 20, 2019
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashenc: allow setting custom movflags using format_options
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
cc929cee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dashenc.c
libavformat/dashenc.c
+3
-3
No files found.
libavformat/dashenc.c
View file @
c96a9636
...
...
@@ -1507,12 +1507,12 @@ static int dash_init(AVFormatContext *s)
if
(
c
->
streaming
)
// skip_sidx : Reduce bitrate overhead
// skip_trailer : Avoids growing memory usage with time
av_dict_set
(
&
opts
,
"movflags"
,
"
dash+delay_moov+skip_sidx+skip_trailer"
,
0
);
av_dict_set
(
&
opts
,
"movflags"
,
"
+dash+delay_moov+skip_sidx+skip_trailer"
,
AV_DICT_APPEND
);
else
{
if
(
c
->
global_sidx
)
av_dict_set
(
&
opts
,
"movflags"
,
"
dash+delay_moov+global_sidx+skip_trailer"
,
0
);
av_dict_set
(
&
opts
,
"movflags"
,
"
+dash+delay_moov+global_sidx+skip_trailer"
,
AV_DICT_APPEND
);
else
av_dict_set
(
&
opts
,
"movflags"
,
"
dash+delay_moov+skip_trailer"
,
0
);
av_dict_set
(
&
opts
,
"movflags"
,
"
+dash+delay_moov+skip_trailer"
,
AV_DICT_APPEND
);
}
if
(
os
->
frag_type
==
FRAG_TYPE_EVERY_FRAME
)
av_dict_set
(
&
opts
,
"movflags"
,
"+frag_every_frame"
,
AV_DICT_APPEND
);
...
...
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