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

pull/702/head
Luke 9 years ago
parent 74b7a816f8
commit 5f944c57e6

@ -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)

Loading…
Cancel
Save