csrc/ffmpeg/format/FormatOut.hpp
@@ -11,6 +11,7 @@ struct AVFrame; struct AVPacket; struct AVDictionary; struct AVBSFContext; namespace ffwrapper{ class VideoProp; @@ -46,7 +47,7 @@ bool endWriter(); bool writeHeader(AVDictionary **options = NULL); bool writeFrame2(AVPacket *pkt, bool interleaved); bool writeFrameInternal(AVPacket *pkt, bool interleaved); bool writeTrailer(); public: AVStream *getStream(); @@ -65,6 +66,8 @@ int a_idx_; AVCodecContext *enc_ctx_; AVBSFContext *bsf_h264, *bsf_hevc; int64_t sync_opts_; bool record_;