Explorar o código

fixes #1347 - Issue with subtitles when resuming using DLNA Play To

Luke %!s(int64=9) %!d(string=hai) anos
pai
achega
5f944c57e6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Model/Dlna/StreamInfo.cs

+ 1 - 1
MediaBrowser.Model/Dlna/StreamInfo.cs

@@ -269,7 +269,7 @@ namespace MediaBrowser.Model.Dlna
             // HLS will preserve timestamps so we can just grab the full subtitle stream
             long startPositionTicks = StringHelper.EqualsIgnoreCase(SubProtocol, "hls")
                 ? 0
-                : StartPositionTicks;
+				: (this.PlayMethod == PlayMethod.Transcode ? StartPositionTicks : 0);
 
             // First add the selected track
             if (SubtitleStreamIndex.HasValue)