@christianriedl/media 1.0.222 → 1.0.223
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
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
function onQualityChange() {
|
|
112
112
|
const video = selected.value as IVideoFile;
|
|
113
113
|
if (quality.value > 0 || !mediaAppConfig.useSatIp) {
|
|
114
|
-
params = MediaHelper.getTranscodeParams(mediaAppConfig.useSatIp, video, window.innerWidth, quality.value, audioStreams[audioStream.value]);
|
|
114
|
+
params = MediaHelper.getTranscodeParams(mediaAppConfig.useSatIp, video, window.innerWidth, quality.value, audioStream.value ? audioStreams[audioStream.value].text : "");
|
|
115
115
|
paramsText.value = params.text;
|
|
116
116
|
}
|
|
117
117
|
else {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
function onQualityChange() {
|
|
91
91
|
const video = selected.value as IVideoFile;
|
|
92
92
|
if (quality.value > 0) {
|
|
93
|
-
params = MediaHelper.getTranscodeParams(true, video, window.innerWidth, quality.value, audioStreams[audioStream.value]);
|
|
93
|
+
params = MediaHelper.getTranscodeParams(true, video, window.innerWidth, quality.value, audioStreams[audioStream.value].text);
|
|
94
94
|
paramsText.value = params.text;
|
|
95
95
|
}
|
|
96
96
|
else {
|
package/src/views/VideosPage.vue
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
function onQualityChange() {
|
|
143
143
|
const video = selected.value as IVideoFile;
|
|
144
144
|
if (quality.value > 0) {
|
|
145
|
-
params = MediaHelper.getTranscodeParams(true, video, window.innerWidth, quality.value, audioStreams[audioStream.value]);
|
|
145
|
+
params = MediaHelper.getTranscodeParams(true, video, window.innerWidth, quality.value, audioStreams[audioStream.value].text);
|
|
146
146
|
paramsText.value = params.text;
|
|
147
147
|
}
|
|
148
148
|
else {
|