From 512617bdb2c48b1acebb43cbf90d6ffbd414ed9e Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Wed, 24 Jan 2024 11:42:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20ffmpeg=20=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=97=B6=20=E4=BB=BB=E5=8A=A1=E6=95=B0=E8=AE=A1?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gb28181/mocking/service/device/DeviceProxyService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java index be83237..95606f8 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java @@ -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(); }