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,7 +293,10 @@ public class MediaInfoHelper
|
|||||||
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
|
mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
|
||||||
mediaSource.TranscodingContainer = streamInfo.Container;
|
mediaSource.TranscodingContainer = streamInfo.Container;
|
||||||
mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;
|
mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;
|
||||||
mediaSource.TranscodingUrl += "&alwaysBurnInSubtitleWhenTranscoding=true";
|
if (streamInfo.AlwaysBurnInSubtitleWhenTranscoding)
|
||||||
|
{
|
||||||
|
mediaSource.TranscodingUrl += "&alwaysBurnInSubtitleWhenTranscoding=true";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user