From 1518fb1f0e59beedfa32663adb3d0bee302f1ad5 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 26 七月 2019 10:42:26 +0800
Subject: [PATCH] bug fix

---
 csrc/wrapper.cpp |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/csrc/wrapper.cpp b/csrc/wrapper.cpp
index 06eff0e..82c5141 100644
--- a/csrc/wrapper.cpp
+++ b/csrc/wrapper.cpp
@@ -201,7 +201,7 @@
             auto in = init_reader(input_url_.c_str());
 
             if (!in) {
-                logIt("ERROR: init_reader!\n");
+                logIt("ERROR: init_reader! url: %s\n", input_url_.c_str());
                 usleep(200000);
                 continue;
             }
@@ -227,9 +227,9 @@
                     break;
                 }
                 //test
-                if(recorder_)
-                    if(id % 250 == 0)
-                        recorder_->FireRecorder(id);
+                // if(recorder_)
+                //     if(id % 250 == 0)
+                //         recorder_->FireRecorder(id);
             }
         }
     }
@@ -277,6 +277,7 @@
             info.file_frame_index = index;
             info.file_path = path;
             list_rec_.emplace_back(info);
+            logIt("list rec files count : %d", list_rec_.size());
         }
     }
 

--
Gitblit v1.8.0