Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d1b8ba45
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d1b8ba45
编写于
6月 23, 2022
作者:
L
ling990
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify testcases Signed-off-by: ling990 <liling96@huawei.com>
Signed-off-by:
N
ling990
<
ling990@qq.com
>
上级
bb05c3aa
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
60 addition
and
60 deletion
+60
-60
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js
...der/src/main/js/test/AudioDecoderFuncCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js
...oder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js
...der/src/main/js/test/AudioEncoderFuncCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js
...oder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js
...der/src/main/js/test/VideoDecoderReliCallbackTest.test.js
+14
-14
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
...oder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
+14
-14
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
...main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
+14
-14
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
.../main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
+14
-14
未找到文件。
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncCallbackTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -712,7 +712,7 @@ describe('AudioDecoderFuncCallback', function () {
audioDecodeProcessor
.
start
(
async
(
err
)
=>
{
expect
(
err
).
assertUndefined
();
console
.
info
(
`case start 1`
);
await
sleep
(
20
00
);
await
sleep
(
5
00
);
eventEmitter
.
emit
(
'
flush
'
);
})
});
...
...
multimedia/media/media_js_standard/audioDecoder/src/main/js/test/AudioDecoderFuncPromiseTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -644,7 +644,7 @@ describe('AudioDecoderFuncPromise', function () {
await
audioDecodeProcessor
.
start
().
then
(()
=>
{
console
.
info
(
"
case start success
"
);
},
failCallback
).
catch
(
failCatch
);
await
sleep
(
30
00
).
then
(()
=>
{
await
sleep
(
5
00
).
then
(()
=>
{
inputQueue
=
[];
outputQueue
=
[];
audioDecodeProcessor
.
flush
().
then
(()
=>
{
...
...
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -543,7 +543,7 @@ describe('AudioEncoderFuncCallback', function () {
audioEncodeProcessor
.
start
(
async
(
err
)
=>
{
expect
(
err
).
assertUndefined
();
console
.
info
(
`case start 1`
);
await
sleep
(
20
00
);
await
sleep
(
5
00
);
eventEmitter
.
emit
(
'
flush
'
);
})
});
...
...
multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -498,7 +498,7 @@ describe('AudioEncoderFuncPromise', function () {
await
audioEncodeProcessor
.
start
().
then
(()
=>
{
console
.
info
(
"
case start success
"
)
},
failCallback
).
catch
(
failCatch
);
await
sleep
(
500
0
).
then
(()
=>
{
await
sleep
(
500
).
then
(()
=>
{
inputQueue
=
[];
outputQueue
=
[];
audioEncodeProcessor
.
flush
().
then
(()
=>
{
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -490,7 +490,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_ALL_OUTS
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
workdoneAtEOS
=
true
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -519,9 +519,9 @@ describe('VideoDecoderReliCallbackTest', function () {
*/
it
(
'
SUB_MEDIA_VIDEO_DECODER_FUNCTION_CALLBACK_01_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -605,7 +605,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_CALLBACK_0600
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -743,7 +743,7 @@ describe('VideoDecoderReliCallbackTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -855,7 +855,7 @@ describe('VideoDecoderReliCallbackTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
START
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -966,7 +966,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_FLUSH_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1077,7 +1077,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_STOP_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1188,7 +1188,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_RESET_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1217,7 +1217,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0100
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1232,7 +1232,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0200
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1247,7 +1247,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1262,7 +1262,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0400
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1277,7 +1277,7 @@ describe('VideoDecoderReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_CALLBACK_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
})
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -484,7 +484,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_ALL_OUTS
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
workdoneAtEOS
=
true
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -513,9 +513,9 @@ describe('VideoDecoderReliPromiseTest', function () {
*/
it
(
'
SUB_MEDIA_VIDEO_DECODER_FUNCTION_PROMISE_01_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -599,7 +599,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_CONFIGURE_PROMISE_0600
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -737,7 +737,7 @@ describe('VideoDecoderReliPromiseTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -849,7 +849,7 @@ describe('VideoDecoderReliPromiseTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
START
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -960,7 +960,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_FLUSH_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1071,7 +1071,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_STOP_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1182,7 +1182,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_RESET_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1211,7 +1211,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0100
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1226,7 +1226,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0200
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1241,7 +1241,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1256,7 +1256,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0400
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
...
...
@@ -1271,7 +1271,7 @@ describe('VideoDecoderReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_DECODER_API_EOS_PROMISE_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByMime
(
'
video/avc
'
,
mySteps
,
done
);
})
})
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -491,7 +491,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_ALL_OUTS
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
workdoneAtEOS
=
true
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -520,9 +520,9 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
*/
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_CALLBACK_01_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -606,7 +606,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_CALLBACK_0600
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -744,7 +744,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -856,7 +856,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
START
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -967,7 +967,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1078,7 +1078,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1189,7 +1189,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1218,7 +1218,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0100
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1233,7 +1233,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0200
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1248,7 +1248,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1263,7 +1263,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0400
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1278,7 +1278,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_CALLBACK_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
})
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
浏览文件 @
d1b8ba45
...
...
@@ -486,7 +486,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_ALL_OUTS
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
workdoneAtEOS
=
true
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -515,9 +515,9 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
*/
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_FUNCTION_PROMISE_01_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -601,7 +601,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_CONFIGURE_PROMISE_0600
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -739,7 +739,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -851,7 +851,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
START
,
DECODE_STEP
.
ERROR
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -962,7 +962,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_FLUSH_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1073,7 +1073,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_STOP_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1184,7 +1184,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_RESET_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1213,7 +1213,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0100
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1228,7 +1228,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0200
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
FLUSH
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1243,7 +1243,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0300
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
RESET
,
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1258,7 +1258,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0400
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
...
...
@@ -1273,7 +1273,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
it
(
'
SUB_MEDIA_VIDEO_SOFTWARE_DECODER_API_EOS_PROMISE_0500
'
,
0
,
async
function
(
done
)
{
let
mySteps
=
new
Array
(
DECODE_STEP
.
CONFIGURE
,
DECODE_STEP
.
SETSURFACE
,
DECODE_STEP
.
PREPARE
,
DECODE_STEP
.
START
,
DECODE_STEP
.
WAIT_FOR_EOS
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
START
,
DECODE_STEP
.
STOP
,
DECODE_STEP
.
RELEASE
);
eosFrameId
=
5
0
;
eosFrameId
=
1
0
;
toCreateVideoDecoderByName
(
'
avdec_h264
'
,
mySteps
,
done
);
})
})
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录