@stremio/stremio-video 0.0.61 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -356,7 +356,7 @@ function ShellVideo(options) {
|
|
|
356
356
|
stream = commandArgs.stream;
|
|
357
357
|
onPropChanged('stream');
|
|
358
358
|
|
|
359
|
-
ipc.send('mpv-set-prop', ['
|
|
359
|
+
ipc.send('mpv-set-prop', ['sub-ass-override', 'strip']);
|
|
360
360
|
|
|
361
361
|
// Hardware decoding
|
|
362
362
|
var hwdecValue = commandArgs.hardwareDecoding ? 'auto-copy' : 'no';
|
package/src/mediaCapabilities.js
CHANGED
|
@@ -49,7 +49,7 @@ var AUDIO_CODEC_CONFIGS = [
|
|
|
49
49
|
];
|
|
50
50
|
|
|
51
51
|
function canPlay(config, options) {
|
|
52
|
-
return config.force || options.mediaElement.canPlayType(config.mime)
|
|
52
|
+
return config.force || typeof options.mediaElement.canPlayType === 'function' && options.mediaElement.canPlayType(config.mime)
|
|
53
53
|
? [config.codec].concat(config.aliases || [])
|
|
54
54
|
: [];
|
|
55
55
|
}
|