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

This commit is contained in:
Luke 2015-12-24 12:49:59 -05:00 committed by Luke Pulverenti
parent c8536040ba
commit 07d0384e87

View File

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