Skip to content

The Free Software Media System - Server Backend & API

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

Luke5f944c57e604
diff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.cs
index 9794729481..f5c54e160a 100644
--- a/MediaBrowser.Model/Dlna/StreamInfo.cs
+++ b/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)