diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-12-24 12:49:59 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2015-12-24 12:49:59 -0500 |
| commit | 5f944c57e6044f5058b1b0ec7d8373acdec52dfc (patch) | |
| tree | 6a6317f8565a0018a672d9b355a1aaaeeb3fb6e5 | |
| parent | 74b7a816f8f723c2f8f995d39bea74db2e860085 (diff) | |
fixes #1347 - Issue with subtitles when resuming using DLNA Play To
| -rw-r--r-- | MediaBrowser.Model/Dlna/StreamInfo.cs | 2 |
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) |
