浏览代码

print fps

leon 3 周之前
父节点
当前提交
d3850158f9
共有 1 个文件被更改,包括 1 次插入0 次删除
  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();