From f0d09d1808d81a3593f2f8e060477ba8746b6762 Mon Sep 17 00:00:00 2001
From: xiaoQQya <xiaoQQya@126.com>
Date: 星期三, 01 十一月 2023 17:15:19 +0800
Subject: [PATCH] perf(snap): 优化点播后 ffmpeg 截图使用的命令参数,解决部分情况下截图失败的问题

---
 src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java
old mode 100644
new mode 100755
index e9ea457..283cfe3
--- a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java
+++ b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java
@@ -97,6 +97,9 @@
 				cmdCode = 32;
 				break;
 			case "stop":
+				horizonSpeed = 0;
+				verticalSpeed = 0;
+				zoomSpeed = 0;
 				break;
 			default:
 				break;

--
Gitblit v1.8.0