mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
Merge pull request #977 from Lynxy/genpts
Always set ffmpeg flag +genpts when video stream is being copied
This commit is contained in:
@@ -1904,7 +1904,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
{
|
||||
flags.Add("+ignidx");
|
||||
}
|
||||
if (state.GenPtsInput)
|
||||
if (state.GenPtsInput || string.Equals(state.OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
flags.Add("+genpts");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user