mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
Conditionally add burn in option for remote source
This commit is contained in:
parent
d944f415f3
commit
c3e889cd41
@ -293,8 +293,11 @@ public class MediaInfoHelper
|
||||
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
|
||||
mediaSource.TranscodingContainer = streamInfo.Container;
|
||||
mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;
|
||||
if (streamInfo.AlwaysBurnInSubtitleWhenTranscoding)
|
||||
{
|
||||
mediaSource.TranscodingUrl += "&alwaysBurnInSubtitleWhenTranscoding=true";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!mediaSource.SupportsDirectPlay && (mediaSource.SupportsTranscoding || mediaSource.SupportsDirectStream))
|
||||
|
Loading…
Reference in New Issue
Block a user