Merge pull request #2184 from WiiPlayer2/bug/global-header-flag-support
Add check if output container supports "global_header" flag
This commit is contained in:
commit
d4de78693f
|
@ -2757,7 +2757,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
if (!state.RunTimeTicks.HasValue)
|
||||
{
|
||||
args += " -flags -global_header -fflags +genpts";
|
||||
args += " -fflags +genpts";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -2802,11 +2802,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
{
|
||||
args += " " + qualityParam.Trim();
|
||||
}
|
||||
|
||||
if (!state.RunTimeTicks.HasValue)
|
||||
{
|
||||
args += " -flags -global_header";
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(state.OutputVideoSync))
|
||||
|
|
Loading…
Reference in New Issue
Block a user