diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js index 954682cb00d5f91822701d2ea6d6222341d100fb..a7808894293a483ae1b5559ad54751ddf7747e63 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js @@ -239,7 +239,7 @@ describe('VideoDecoderReliCallbackTest', function () { console.info(`case start callback`); printError(err, expectFail); if (mySteps[0] == DECODE_STEP.FLUSH) { - timeDelay = 500; + timeDelay = 50; } setTimeout(() => { toNextStep(mySteps, done); diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js index f0caca42fe7f22bd6c2c59107d12b9f6613e36ad..d22569cf079f776ce56dced0ca05325db7623fed 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js @@ -243,7 +243,7 @@ describe('VideoDecoderReliPromiseTest', function () { videoDecodeProcessor.start().then(() => { console.info(`case start success`); if (mySteps[0] == DECODE_STEP.FLUSH) { - timeDelay = 500; + timeDelay = 50; } setTimeout(() => { toNextStep(mySteps, done); diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js index 374bdd1fb0a9e355a75bb25092b85a36af714547..199f609981900a5cb6b39f2f1c17401c468c0363 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js @@ -239,7 +239,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () { console.info(`case start callback`); printError(err, expectFail); if (mySteps[0] == DECODE_STEP.FLUSH) { - timeDelay = 500; + timeDelay = 50; } setTimeout(() => { toNextStep(mySteps, done); diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js index a529b627b6806410a55a27b42fcec04e50325726..7422bf034f79a62cb276af7bf9ac4dc1b8be847c 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js @@ -244,7 +244,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () { videoDecodeProcessor.start().then(() => { console.info(`case start success`); if (mySteps[0] == DECODE_STEP.FLUSH) { - timeDelay = 500; + timeDelay = 50; } setTimeout(() => { toNextStep(mySteps, done); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js index 1c62aa97d06d7ab42476aeae14b6171423683f21..a836da69bd04002643b00c5799296d29438f130d 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js @@ -206,6 +206,7 @@ describe('videoSoftwareEncoderFuncPromise', function () { } } else { console.info('not last frame, continue'); + writeFile(outputObject.data, outputObject.length); videoEncodeProcessor.freeOutputBuffer(outputObject).then(() => { console.info('release output success'); });