From 5f944c57e6044f5058b1b0ec7d8373acdec52dfc Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 24 Dec 2015 12:49:59 -0500 Subject: [PATCH] fixes #1347 - Issue with subtitles when resuming using DLNA Play To --- MediaBrowser.Model/Dlna/StreamInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.cs index 979472948..f5c54e160 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)