mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Conditionally add burn in option for remote source
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user