aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2015-12-24 12:49:59 -0500
committerLuke <luke.pulverenti@gmail.com>2015-12-24 12:49:59 -0500
commit5f944c57e6044f5058b1b0ec7d8373acdec52dfc (patch)
tree6a6317f8565a0018a672d9b355a1aaaeeb3fb6e5
parent74b7a816f8f723c2f8f995d39bea74db2e860085 (diff)
fixes #1347 - Issue with subtitles when resuming using DLNA Play To
-rw-r--r--MediaBrowser.Model/Dlna/StreamInfo.cs2
1 files changed, 1 insertions, 1 deletions
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)