From 5dc20e14010d1cf87db73ddd0de2de452049e542 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期六, 28 九月 2019 16:33:18 +0800
Subject: [PATCH] add rec h265

---
 csrc/ffmpeg/format/FormatOut.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/csrc/ffmpeg/format/FormatOut.cpp b/csrc/ffmpeg/format/FormatOut.cpp
index 2994153..6bc43df 100644
--- a/csrc/ffmpeg/format/FormatOut.cpp
+++ b/csrc/ffmpeg/format/FormatOut.cpp
@@ -434,6 +434,12 @@
             pkt->pts = pkt->dts = pkt->duration * time_stamp; 
 
         }
+        // logIt("BEFORE in stream timebase %d:%d, out timebase %d:%d, 
+        //         pts: %lld, dts: %lld, duration: %lld", 
+        //     in_stream->time_base.num, in_stream->time_base.den,
+        //     out_stream->time_base.num, out_stream->time_base.den,
+        //     pkt->pts, pkt->dts, pkt->duration);
+
     }
 
     bool FormatOut::writeFrame(AVPacket *pkt, const int64_t &frame_cnt,

--
Gitblit v1.8.0