提交 a028192b 编写于 作者: C caocan

modify interface of SeekMode

Signed-off-by: Ncaocan <1532643766@qq.com>
Change-Id: I11e3e526db58ba50f6cf75a861b3683e826928be
上级 5a01fafe
...@@ -79,16 +79,16 @@ struct VideoCreateComponent { ...@@ -79,16 +79,16 @@ struct VideoCreateComponent {
this.myVideoController.setCurrentTime(9); this.myVideoController.setCurrentTime(9);
}); });
Button("setCurrentTime").onClick(() => { Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.PreviousSync); this.myVideoController.setCurrentTime(9, SeekMode.PreviousKeyframe);
}); });
Button("setCurrentTime").onClick(() => { Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.NextSync); this.myVideoController.setCurrentTime(9, SeekMode.NextKeyframe);
}); });
Button("setCurrentTime").onClick(() => { Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.Closest); this.myVideoController.setCurrentTime(9, SeekMode.ClosestKeyframe);
}); });
Button("setCurrentTime").onClick(() => { Button("setCurrentTime").onClick(() => {
this.myVideoController.setCurrentTime(9, SeekMode.ClosestSync); this.myVideoController.setCurrentTime(9, SeekMode.Accurate);
}); });
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册