Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-08-14 15:51:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
afd05f71c38303ef724390736a8e50e6ae2afdd6
afd05f71
1 parent
3b0b2e0b
refine code, use size cache for performance issue.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/src/app/srs_app_source.cpp
trunk/src/app/srs_app_source.cpp
查看文件 @
afd05f7
...
...
@@ -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
{
...
...
请
注册
或
登录
后发表评论