Browse Source

print fps

leon 2 tháng trước cách đây
mục cha
commit
d3850158f9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/nodes/stream/streamNode.cpp

+ 1 - 0
src/nodes/stream/streamNode.cpp

@@ -30,6 +30,7 @@ bool StreamNode::open_stream() {
             status_ = StreamStatus::OPEN_FAILED;
             return false;
         }
+        PLOGI.printf("StreamNode [%s]: Stream fps %d", name_.c_str(), demuxer_->get_fps());
 
         auto codec_id = demuxer_->get_video_codec();