From 48c8a8ce082ebdb992cb52cdd766298e8ca19011 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 五月 2021 11:04:56 +0800
Subject: [PATCH] bug fixed gb28181 capture picture

---
 cffmpeg.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/cffmpeg.h b/cffmpeg.h
index bb3d0be..fc491ab 100644
--- a/cffmpeg.h
+++ b/cffmpeg.h
@@ -17,7 +17,7 @@
 
 int c_ffmpeg_get_fps(const cffmpeg h);
 void c_ffmpeg_run_gb28181(const cffmpeg h);
-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);
 void c_ffmepg_use_cpu(const cffmpeg h);
 /////////passive api
 void c_ffmpeg_open_recorder(const cffmpeg h);
@@ -32,6 +32,10 @@
 void* c_ffmpeg_get_avpacket(const cffmpeg h, int *size, int *key);
 int c_ffmpeg_get_avpacket2(const cffmpeg h, unsigned char **data, int *size, int *key);
 
+int c_ffmpeg_set_devid(const cffmpeg h, const int devid);
+
+void c_ffmpeg_release_buf(void* buf);
+
 // pic encoder
 void *c_ffmpeg_create_encoder(const int w, const int h, const int fps, const int br, const int pix_fmt, const int scale_flag, const int gi);
 void c_ffmpeg_destroy_encoder(void *h);

--
Gitblit v1.8.0