diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-12-24 12:49:59 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-12-25 21:56:54 -0500 |
| commit | 07d0384e87d1b9d8c7b480b27705889b65f327ab (patch) | |
| tree | 9d648fd24a9fa21355e97e12fc2128e37d8d5c02 | |
| parent | c8536040ba7322075b18e29a958f7df4b5e069c3 (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) |
