mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-24 03:30:52 +08:00
Compare commits
2 Commits
57f6cdb84d
...
c3a9b9eb07
Author | SHA1 | Date | |
---|---|---|---|
|
c3a9b9eb07 | ||
|
a41c6a63e4 |
@ -282,6 +282,8 @@ void VideoStack::start() {
|
||||
|
||||
_dev->inputYUV((char**)_buffer->get()->data, _buffer->get()->linesize, pts);
|
||||
pts += frameInterval;
|
||||
} else {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user