From 19b3ad6e4e9c8e195e9255d5448ab5952b1ed54e Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 25 五月 2021 16:42:02 +0800 Subject: [PATCH] bug fixed gb28181 capture --- csrc/ffmpeg/format/FormatIn.hpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/csrc/ffmpeg/format/FormatIn.hpp b/csrc/ffmpeg/format/FormatIn.hpp index 4c2ac1e..aebdbf8 100644 --- a/csrc/ffmpeg/format/FormatIn.hpp +++ b/csrc/ffmpeg/format/FormatIn.hpp @@ -51,13 +51,14 @@ AVFormatContext *getFromatContext(){return ctx_;} const double getFPS()const{return fps_;} const bool IsHEVC()const; - const bool isAVC1()const; + const bool IsAVC1()const; private: AVFormatContext *ctx_; AVCodecContext *dec_ctx_; int vs_idx_; int as_idx_; + VideoProp *prop_; bool hw_accl_; double fps_; -- Gitblit v1.8.0