make-only-subtitle-default
HaveAGitGat 4 years ago
parent 998f4f64df
commit a2c644c9ab

@ -16,12 +16,12 @@ const tests = [
container: '.mp4', container: '.mp4',
handBrakeMode: false, handBrakeMode: false,
FFmpegMode: true, FFmpegMode: true,
infoLog: '☑ No 2 channel audio stream exists. \n ' infoLog: '☑ No 2 channel audio stream exists. \n ',
}, },
}, },
{ {
input: { input: {
file: (()=>{ file: (() => {
const file = _.cloneDeep(require('../sampleData/media/sampleH264_2.json')); const file = _.cloneDeep(require('../sampleData/media/sampleH264_2.json'));
file.ffProbeData.streams[1].channels = 6; file.ffProbeData.streams[1].channels = 6;
@ -29,7 +29,7 @@ const tests = [
})(), })(),
librarySettings: {}, librarySettings: {},
inputs: { inputs: {
channels:'6', channels: '6',
}, },
otherArguments: {}, otherArguments: {},
}, },
@ -39,11 +39,11 @@ const tests = [
container: '.mkv', container: '.mkv',
handBrakeMode: false, handBrakeMode: false,
FFmpegMode: true, FFmpegMode: true,
infoLog: '☒ Matching audio stream is not set to default. \n' + infoLog: '☒ Matching audio stream is not set to default. \n'
'☒ Setting 6 channel matching audio stream to default. Remove default from all other audio streams \n', + '☒ Setting 6 channel matching audio stream to default. Remove default from all other audio streams \n',
reQueueAfter: true reQueueAfter: true,
},
}, },
}
]; ];
run(tests); run(tests);

Loading…
Cancel
Save