Merge pull request #2184 from WiiPlayer2/bug/global-header-flag-support

Add check if output container supports "global_header" flag
pull/2321/head
dkanada 5 years ago committed by GitHub
commit d4de78693f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2757,7 +2757,7 @@ namespace MediaBrowser.Controller.MediaEncoding
if (!state.RunTimeTicks.HasValue) if (!state.RunTimeTicks.HasValue)
{ {
args += " -flags -global_header -fflags +genpts"; args += " -fflags +genpts";
} }
} }
else else
@ -2802,11 +2802,6 @@ namespace MediaBrowser.Controller.MediaEncoding
{ {
args += " " + qualityParam.Trim(); args += " " + qualityParam.Trim();
} }
if (!state.RunTimeTicks.HasValue)
{
args += " -flags -global_header";
}
} }
if (!string.IsNullOrEmpty(state.OutputVideoSync)) if (!string.IsNullOrEmpty(state.OutputVideoSync))

Loading…
Cancel
Save