mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
#80 - Subtitle Paramaters For HLS
This commit is contained in:
parent
e2dcddc5ac
commit
63e16a4d99
@ -152,6 +152,14 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||||||
|
|
||||||
args += " -vsync vfr";
|
args += " -vsync vfr";
|
||||||
|
|
||||||
|
if (state.SubtitleStream != null)
|
||||||
|
{
|
||||||
|
// This is for internal graphical subs
|
||||||
|
if (!state.SubtitleStream.IsExternal && (state.SubtitleStream.Codec.IndexOf("pgs", StringComparison.OrdinalIgnoreCase) != -1 || state.SubtitleStream.Codec.IndexOf("dvd", StringComparison.OrdinalIgnoreCase) != -1))
|
||||||
|
{
|
||||||
|
args += GetInternalGraphicalSubtitleParam(state, codec);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return args;
|
return args;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user