mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
Merge branch '2.0release' into develop
This commit is contained in:
commit
53351cd645
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ int SrsMessageQueue::dump_packets(int max_count, SrsSharedPtrMessage** pmsgs, in
|
|||
SrsSharedPtrMessage* last = omsgs[count - 1];
|
||||
av_start_time = last->timestamp;
|
||||
|
||||
if (count >= (int)msgs.size()) {
|
||||
if (count >= nb_msgs) {
|
||||
// the pmsgs is big enough and clear msgs at most time.
|
||||
msgs.clear();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue