Skip to content

Commit 146c491

Browse files
authored
Merge pull request #113 from CyBHFal/rtpp_2_1
Error in backport to correct issue #111
2 parents fc548ee + dad778c commit 146c491

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rtpp_proc_async.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,10 @@ rtpp_proc_async_run(void *arg)
234234
CALL_METHOD(cf->stable->sessinfo, sync_polltbl, &ptbl_rtp, PIPE_RTP);
235235
if (rtp_only == 0) {
236236
CALL_METHOD(cf->stable->sessinfo, sync_polltbl, &ptbl_rtcp, PIPE_RTCP);
237+
}
237238
nready_rtp = nready_rtcp = 0;
238239
if (ptbl_rtp.curlen > 0) {
240+
if (rtp_only == 0) {
239241
#if RTPP_DEBUG_netio > 1
240242
RTPP_LOG(cf->stable->glog, RTPP_LOG_DBUG, "run %lld " \
241243
"polling for %d RTCP file descriptors", \

0 commit comments

Comments
 (0)