Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
77ff87e2
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看板
提交
77ff87e2
编写于
5月 18, 2022
作者:
L
ling990
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify testcases Signed-off-by: ling990 <liling96@huawei.com>
Signed-off-by:
N
ling990
<
ling990@qq.com
>
上级
205a0dc3
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
5 addition
and
4 deletion
+5
-4
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js
...der/src/main/js/test/VideoDecoderReliCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
...oder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
...main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
+1
-1
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
.../main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
+1
-1
multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js
.../main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js
+1
-0
未找到文件。
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliCallbackTest.test.js
浏览文件 @
77ff87e2
...
@@ -239,7 +239,7 @@ describe('VideoDecoderReliCallbackTest', function () {
...
@@ -239,7 +239,7 @@ describe('VideoDecoderReliCallbackTest', function () {
console
.
info
(
`case start callback`
);
console
.
info
(
`case start callback`
);
printError
(
err
,
expectFail
);
printError
(
err
,
expectFail
);
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
timeDelay
=
50
0
;
timeDelay
=
50
;
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
toNextStep
(
mySteps
,
done
);
toNextStep
(
mySteps
,
done
);
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderReliPromiseTest.test.js
浏览文件 @
77ff87e2
...
@@ -243,7 +243,7 @@ describe('VideoDecoderReliPromiseTest', function () {
...
@@ -243,7 +243,7 @@ describe('VideoDecoderReliPromiseTest', function () {
videoDecodeProcessor
.
start
().
then
(()
=>
{
videoDecodeProcessor
.
start
().
then
(()
=>
{
console
.
info
(
`case start success`
);
console
.
info
(
`case start success`
);
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
timeDelay
=
50
0
;
timeDelay
=
50
;
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
toNextStep
(
mySteps
,
done
);
toNextStep
(
mySteps
,
done
);
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliCallbackTest.test.js
浏览文件 @
77ff87e2
...
@@ -239,7 +239,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
...
@@ -239,7 +239,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
console
.
info
(
`case start callback`
);
console
.
info
(
`case start callback`
);
printError
(
err
,
expectFail
);
printError
(
err
,
expectFail
);
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
timeDelay
=
50
0
;
timeDelay
=
50
;
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
toNextStep
(
mySteps
,
done
);
toNextStep
(
mySteps
,
done
);
...
...
multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderSoftwareReliPromiseTest.test.js
浏览文件 @
77ff87e2
...
@@ -244,7 +244,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
...
@@ -244,7 +244,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
videoDecodeProcessor
.
start
().
then
(()
=>
{
videoDecodeProcessor
.
start
().
then
(()
=>
{
console
.
info
(
`case start success`
);
console
.
info
(
`case start success`
);
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
if
(
mySteps
[
0
]
==
DECODE_STEP
.
FLUSH
)
{
timeDelay
=
50
0
;
timeDelay
=
50
;
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
toNextStep
(
mySteps
,
done
);
toNextStep
(
mySteps
,
done
);
...
...
multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderSoftwareFuncPromiseTest.test.js
浏览文件 @
77ff87e2
...
@@ -206,6 +206,7 @@ describe('videoSoftwareEncoderFuncPromise', function () {
...
@@ -206,6 +206,7 @@ describe('videoSoftwareEncoderFuncPromise', function () {
}
}
}
else
{
}
else
{
console
.
info
(
'
not last frame, continue
'
);
console
.
info
(
'
not last frame, continue
'
);
writeFile
(
outputObject
.
data
,
outputObject
.
length
);
videoEncodeProcessor
.
freeOutputBuffer
(
outputObject
).
then
(()
=>
{
videoEncodeProcessor
.
freeOutputBuffer
(
outputObject
).
then
(()
=>
{
console
.
info
(
'
release output success
'
);
console
.
info
(
'
release output success
'
);
});
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录