From 0a889a53b5b5cf09b7358727524d8a1985d41d41 Mon Sep 17 00:00:00 2001
From: 554325746@qq.com <554325746@qq.com>
Date: 星期二, 10 三月 2020 10:45:23 +0800
Subject: [PATCH] bug fixed file frmaes statistic
---
csrc/ffmpeg/format/FormatIn.hpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/csrc/ffmpeg/format/FormatIn.hpp b/csrc/ffmpeg/format/FormatIn.hpp
index 5514bc6..e904145 100644
--- a/csrc/ffmpeg/format/FormatIn.hpp
+++ b/csrc/ffmpeg/format/FormatIn.hpp
@@ -41,6 +41,7 @@
bool isVideoPkt(AVPacket *pkt);
bool isAudioPkt(AVPacket *pkt);
+ bool notVideoAudio(AVPacket *pkt);
private:
bool allocCodec(AVCodec *dec, AVStream *s, AVDictionary **options);
public:
@@ -48,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