update subtitle stream switching

This commit is contained in:
Luke Pulverenti 2016-03-06 14:54:56 -05:00
parent 68de42e33b
commit 69527f808c

View File

@ -322,7 +322,7 @@
if (currentDeliveryMethod == 'Encode') {
console.log('setSubtitleStreamIndex video url change required');
var positionTicks = getCurrentPositionTicks($scope);
changeStream(positionTicks, { SubtitleIndex: -1 });
changeStream(positionTicks, { SubtitleStreamIndex: -1 });
} else {
$scope.subtitleStreamIndex = null;
setTextTrack($scope);
@ -352,7 +352,7 @@
} else {
console.log('setSubtitleStreamIndex video url change required');
var positionTicks = getCurrentPositionTicks($scope);
changeStream(positionTicks, { SubtitleIndex: index });
changeStream(positionTicks, { SubtitleStreamIndex: index });
}
}