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
zhengfl
2014-10-02 20:25:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2317f0e7672276b3f220162401f3d78026e53a38
2317f0e7
1 parent
bafdd831
refine
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
6 行增加
和
8 行删除
trunk/src/app/srs_app_recv_thread.cpp
trunk/src/app/srs_app_recv_thread.cpp
查看文件 @
2317f0e
...
...
@@ -198,13 +198,7 @@ bool SrsQueueRecvThread::can_handle()
// for the message may cause the thread to stop,
// when stop, the thread is freed, so the messages
// are dropped.
bool
e
=
empty
();
#ifdef SRS_PERF_QUEUE_COND_WAIT
if
(
_consumer
&&
!
e
)
{
_consumer
->
on_dispose
();
}
#endif
return
e
;
return
empty
();
}
int
SrsQueueRecvThread
::
handle
(
SrsCommonMessage
*
msg
)
...
...
@@ -212,7 +206,11 @@ int SrsQueueRecvThread::handle(SrsCommonMessage* msg)
// put into queue, the send thread will get and process it,
// @see SrsRtmpConn::process_play_control_msg
queue
.
push_back
(
msg
);
#ifdef SRS_PERF_QUEUE_COND_WAIT
if
(
_consumer
)
{
_consumer
->
on_dispose
();
}
#endif
return
ERROR_SUCCESS
;
}
...
...
请
注册
或
登录
后发表评论