From 18a05d269516a5e33d8460291c2f93e73d95adce Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 26 十二月 2023 10:45:31 +0800
Subject: [PATCH] GetYUV format is NV12

---
 csrc/buz/recorder.cpp |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/csrc/buz/recorder.cpp b/csrc/buz/recorder.cpp
index beda224..8f32088 100644
--- a/csrc/buz/recorder.cpp
+++ b/csrc/buz/recorder.cpp
@@ -70,7 +70,6 @@
                 fclose(fp_);
                 fp_ = NULL;
             }
-            
         }
 
         int Recorder::init_write_h264(const bool audio){
@@ -323,10 +322,6 @@
             if (in->open(NULL, NULL) < 0){
                 logIt("mux hevc open stream error");
                 return -3;
-            }
-            if (!in->findStreamInfo(NULL)) {
-                logIt("mux hevc can't find streams");
-                return -4;
             }
             
             std::unique_ptr<FormatOut> out(new FormatOut(in_->getFPS(), "mp4"));

--
Gitblit v1.8.0