mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
fixes #1347 - Issue with subtitles when resuming using DLNA Play To
This commit is contained in:
parent
c8536040ba
commit
07d0384e87
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ namespace MediaBrowser.Model.Dlna
|
||||||
// HLS will preserve timestamps so we can just grab the full subtitle stream
|
// HLS will preserve timestamps so we can just grab the full subtitle stream
|
||||||
long startPositionTicks = StringHelper.EqualsIgnoreCase(SubProtocol, "hls")
|
long startPositionTicks = StringHelper.EqualsIgnoreCase(SubProtocol, "hls")
|
||||||
? 0
|
? 0
|
||||||
: StartPositionTicks;
|
: (this.PlayMethod == PlayMethod.Transcode ? StartPositionTicks : 0);
|
||||||
|
|
||||||
// First add the selected track
|
// First add the selected track
|
||||||
if (SubtitleStreamIndex.HasValue)
|
if (SubtitleStreamIndex.HasValue)
|
||||||
|
|
Loading…
Reference in a new issue