From 18a05d269516a5e33d8460291c2f93e73d95adce Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 26 十二月 2023 10:45:31 +0800 Subject: [PATCH] GetYUV format is NV12 --- libcffmpeg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcffmpeg.c b/libcffmpeg.c index c8298a8..279b292 100644 --- a/libcffmpeg.c +++ b/libcffmpeg.c @@ -79,7 +79,7 @@ fn_gb28181(h); } -char * wrap_fn_get_gb28181_pic(void *lib, const char *rtspUrl, int *retDataLen){ +char * wrap_fn_get_gb28181_pic(void *lib, const char *rtspUrl, int *retDataLen, const int tt){ if (!fn_get_gb28181_pic){ fn_get_gb28181_pic = (lib_cffmpeg_get_gb28181_pic)dlsym(lib, "c_ffmpeg_get_gb28181_pic"); if(!fn_get_gb28181_pic) { @@ -87,7 +87,7 @@ return NULL; } } - return fn_get_gb28181_pic(rtspUrl, retDataLen); + return fn_get_gb28181_pic(rtspUrl, retDataLen, tt); } void wrap_fn_use_cpu(void *lib, const cffmpeg h){ -- Gitblit v1.8.0