mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -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";
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user