解决单音频无法录制mp4的bug

This commit is contained in:
xiongziliang
2020-01-24 21:09:47 +08:00
parent 90c6dd4bfa
commit 224a35dbd5
2 changed files with 15 additions and 7 deletions

View File

@@ -81,8 +81,9 @@ private:
Stamp stamp;
};
unordered_map<int,track_info> _codec_to_trackid;
bool _started = false;
List<Frame::Ptr> _frameCached;
bool _started = false;
bool _have_video = false;
};