修正 ffmpeg 失败时 任务数计数
This commit is contained in:
parent
c280b5f40d
commit
512617bdb2
@ -581,6 +581,8 @@ public class DeviceProxyService {
|
||||
@Override
|
||||
public void onProcessFailed(ExecuteException e) {
|
||||
hasResult = true;
|
||||
int num = taskNum.decrementAndGet();
|
||||
log.info("当前任务数 {}", num);
|
||||
log.error("ffmpeg 执行失败", e);
|
||||
close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user