From 8c95c6857542b3fe82cd614e45755902884358af Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期二, 29 十月 2019 14:13:13 +0800 Subject: [PATCH] 修改视频获取不到流的死等问题 --- csrc/ffmpeg/format/FormatIn.hpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/csrc/ffmpeg/format/FormatIn.hpp b/csrc/ffmpeg/format/FormatIn.hpp index 134be20..e904145 100644 --- a/csrc/ffmpeg/format/FormatIn.hpp +++ b/csrc/ffmpeg/format/FormatIn.hpp @@ -49,6 +49,7 @@ AVCodecContext *getCodecContext(int type = 0); AVFormatContext *getFromatContext(){return ctx_;} const double getFPS()const{return fps_;} + const bool IsHEVC()const; private: AVFormatContext *ctx_; AVCodecContext *dec_ctx_; -- Gitblit v1.8.0