3,425
社区成员
发帖
与我相关
我的任务
分享
!十分感谢!!!

读取视频结束的时候。
// check if we should stop
if (frame_to_stop>=0 && getFrameNumber()==frame_to_stop)
stopIt(); // stop = true
frame_to_stop初始值为具体某一帧,读到这一帧stop变为ture,while循环停止。调试的时候stop也的确变为true了。
读取视频结束的时候。
// check if we should stop
if (frame_to_stop>=0 && getFrameNumber()==frame_to_stop)
stopIt(); // stop = true
frame_to_stop初始值为具体某一帧,读到这一帧stop变为ture,while循环停止。调试的时候stop也的确变为true了。