Fix spelling mistakes identified by Lintian
Co-authored-by: Thulinma <jaron@vietors.com>
This commit is contained in:
parent
a1fbb9e186
commit
ea47e19129
14 changed files with 24 additions and 24 deletions
File diff suppressed because one or more lines are too long
|
@ -1617,7 +1617,7 @@ MistSkins["default"] = {
|
|||
//gather what tracks we should use
|
||||
var usetracks = {};
|
||||
for (var i in selections) {
|
||||
if ((i == "subtitle") || (selections[i].value == "")) { continue; } //subtitle tracks are handled seperately
|
||||
if ((i == "subtitle") || (selections[i].value == "")) { continue; } //subtitle tracks are handled separately
|
||||
usetracks[i] = selections[i].value;
|
||||
}
|
||||
if (value != ""){ usetracks[type] = value; }
|
||||
|
@ -2709,7 +2709,7 @@ MistSkins["default"] = {
|
|||
forcePriority: MistVideo.options.forcePriority,
|
||||
setTracks: MistVideo.options.setTracks, //when the track selection is changed through the UI, the selected track is saved in the options, so this passes on the currently enforced tracks
|
||||
controls: false,
|
||||
skin: "default" //TODO: right now the skin can't really be transfered because there are functions in there that won't be in the JSON. At some point we should fix this, probably by having the Mist backend include a custom skin definition with the player code.
|
||||
skin: "default" //TODO: right now the skin can't really be transferred because there are functions in there that won't be in the JSON. At some point we should fix this, probably by having the Mist backend include a custom skin definition with the player code.
|
||||
},
|
||||
stream: MistVideo.stream
|
||||
};
|
||||
|
|
|
@ -359,9 +359,9 @@ p.prototype.build = function (MistVideo,callback) {
|
|||
}
|
||||
player.msgqueue.shift();
|
||||
if (player.msgqueue.length == 0) { player.msgqueue = false; }
|
||||
MistVideo.log("The newly initialized source buffer was filled with data from a seperate message queue."+(player.msgqueue ? " "+player.msgqueue.length+" more message queue(s) remain." : ""));
|
||||
MistVideo.log("The newly initialized source buffer was filled with data from a separate message queue."+(player.msgqueue ? " "+player.msgqueue.length+" more message queue(s) remain." : ""));
|
||||
if (do_do) {
|
||||
MistVideo.log("The seperate message queue was empty; manually triggering any onupdateend functions");
|
||||
MistVideo.log("The separate message queue was empty; manually triggering any onupdateend functions");
|
||||
player.sb.dispatchEvent(new Event("updateend"));
|
||||
}
|
||||
}
|
||||
|
@ -817,9 +817,9 @@ p.prototype.build = function (MistVideo,callback) {
|
|||
}
|
||||
else {
|
||||
//There is no active source buffer or we're preparing for a track switch.
|
||||
//Any data is kept in a seperate buffer and won't be appended to the source buffer until it is reinitialised.
|
||||
//Any data is kept in a separate buffer and won't be appended to the source buffer until it is reinitialised.
|
||||
if (!player.msgqueue) { player.msgqueue = [[]]; }
|
||||
//There may be more than one seperate buffer (in case of rapid track switches), always append to the last of the buffers
|
||||
//There may be more than one separate buffer (in case of rapid track switches), always append to the last of the buffers
|
||||
player.msgqueue[player.msgqueue.length-1].push(data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue