mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
优化特定情况下丢帧问题
This commit is contained in:
parent
1f02144225
commit
1a97c2e3cd
@ -53,8 +53,8 @@ void MediaSink::inputFrame(const Frame::Ptr &frame) {
|
|||||||
if (it == _track_map.end()) {
|
if (it == _track_map.end()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
it->second->inputFrame(frame);
|
|
||||||
checkTrackIfReady(it->second);
|
checkTrackIfReady(it->second);
|
||||||
|
it->second->inputFrame(frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MediaSink::checkTrackIfReady_l(const Track::Ptr &track){
|
void MediaSink::checkTrackIfReady_l(const Track::Ptr &track){
|
||||||
|
Loading…
Reference in New Issue
Block a user