diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-05-12 18:22:16 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-05-12 18:22:16 +0000 |
commit | 114b3b7ec7ac26aa1024663a22bb3a74101eaf09 (patch) | |
tree | 071a471e434f12e19961f8b30b8e2110cf65bb74 | |
parent | 563c9c9854f072e3162bea977ced8b7ac40cf57b (diff) |
Minor (#838): should not print sound device creation to the log when the conference bridge is created with PJMEDIA_CONF_NO_DEVICE (thanks Fabio Cherchi for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2696 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjmedia/src/pjmedia/conference.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjmedia/src/pjmedia/conference.c b/pjmedia/src/pjmedia/conference.c index e23fab69..166247b7 100644 --- a/pjmedia/src/pjmedia/conference.c +++ b/pjmedia/src/pjmedia/conference.c @@ -503,6 +503,8 @@ static pj_status_t create_sound_port( pj_pool_t *pool, pjmedia_aud_dev_get_info(param.rec_id, &snd_dev_info); pj_strdup2_with_null(pool, &conf_port->name, snd_dev_info.name); } + + PJ_LOG(5,(THIS_FILE, "Sound device successfully created for port 0")); } @@ -510,8 +512,6 @@ static pj_status_t create_sound_port( pj_pool_t *pool, conf->ports[0] = conf_port; conf->port_cnt++; - - PJ_LOG(5,(THIS_FILE, "Sound device successfully created for port 0")); return PJ_SUCCESS; } |