Misc (Re #1446): Fixed wrong setting of pjsua_app's options.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4023 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Sauw Ming 2012-04-05 01:56:05 +00:00
parent 5f13c9fe06
commit 22d9b64287
1 changed files with 2 additions and 2 deletions

View File

@ -1436,11 +1436,11 @@ static pj_status_t parse_args(int argc, char *argv[],
#endif /* PJSIP_HAS_TLS_TRANSPORT */
case OPT_CAPTURE_DEV:
cfg->vid.vcapture_dev = atoi(pj_optarg);
cfg->capture_dev = atoi(pj_optarg);
break;
case OPT_PLAYBACK_DEV:
cfg->vid.vrender_dev = atoi(pj_optarg);
cfg->playback_dev = atoi(pj_optarg);
break;
case OPT_STDOUT_REFRESH: