From 470d4180e2b86eee41c9c14910e4131d16edb8b7 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 五月 2021 17:02:54 +0800
Subject: [PATCH] bug fixed gb28181 capture

---
 csrc/cffmpeg.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/csrc/cffmpeg.cpp b/csrc/cffmpeg.cpp
index 5d94f90..b343ef4 100644
--- a/csrc/cffmpeg.cpp
+++ b/csrc/cffmpeg.cpp
@@ -43,9 +43,9 @@
     s->GB28181();
 }
 
-char * c_ffmpeg_get_gb28181_pic(const char *rtspUrl, int *retDataLen){
+char * c_ffmpeg_get_gb28181_pic(const char *rtspUrl, int *retDataLen, const int tt){
     char * retData = (char *)malloc(sizeof(char) * 3000000);
-    int flag = GetGb28181Pic(rtspUrl, retData, retDataLen);
+    int flag = GetGb28181Pic(rtspUrl, retData, retDataLen, tt);
     if(flag == -1){
         free(retData);
         *retDataLen = 0;

--
Gitblit v1.8.0