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);