Commit f1eac2b8 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

movenc: Use keyframes as default fragmentation point in ismv

Fragmenting blindly to a certain duration isn't a good choice
if one should be able to switch between different qualities,
therefore default to keyframes instead.
Signed-off-by: default avatarMartin Storsjö <>
parent a9553bbb
......@@ -3300,7 +3300,7 @@ static int mov_write_header(AVFormatContext *s)
if (!(mov->flags & (FF_MOV_FLAG_FRAG_KEYFRAME |
!mov->max_fragment_duration && !mov->max_fragment_size)
mov->max_fragment_duration = 5000000;
if (!(mov->flags & FF_MOV_FLAG_FRAGMENT)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment