From e5cff5a3ef373a5090f45cd1dfb0b85d9c851d5d Mon Sep 17 00:00:00 2001
From: FuJuntang <strongtiger_001@163.com>
Date: 星期三, 06 七月 2022 10:04:09 +0800
Subject: [PATCH] Add video recorder and playback support.

---
 test/ptz_test/ptz_test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/ptz_test/ptz_test.c b/test/ptz_test/ptz_test.c
index 02d924d..bcc04f5 100644
--- a/test/ptz_test/ptz_test.c
+++ b/test/ptz_test/ptz_test.c
@@ -13,7 +13,6 @@
 {
     int ret;
     PosCur pos_get;
-    float data;
     int preset0, preset1, preset2;
     float pval, tval, zval;
     float speed_p, speed_t, speed_z;
@@ -131,6 +130,7 @@
     * secondly, zoom in the object that is describled with left-up and right-down pixel;
     * finally, restore the image as original size;
     */
+    float data;
     proto_PTZ_GetStatus(handle, &pos_get, USERNAME, PASSWORD);
     proto_PTZGetPT(handle, 0, 0, &pval, &tval, USERNAME, PASSWORD);
     proto_PTZSet(handle, pval, tval, pos_get.z, USERNAME, PASSWORD);

--
Gitblit v1.8.0