diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-06-26 15:48:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-06-26 15:48:14 +0000 |
commit | cff6c1ad2afd0ad64ee562fa80e078a876b38812 (patch) | |
tree | 0402d2400dc67ba448211453824fc105e5d7dcdc /pjsip-apps/src/pjsua | |
parent | 4012aae3e4d73758ee47ed9978ff537c9912d0f9 (diff) |
Specifying star in codec selection will select all codecs. Fixed the codec selection in codec.c to select all codecs when empty string is given.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2061 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsua')
-rw-r--r-- | pjsip-apps/src/pjsua/pjsua_app.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c index 97896b2f..ca0caad2 100644 --- a/pjsip-apps/src/pjsua/pjsua_app.c +++ b/pjsip-apps/src/pjsua/pjsua_app.c @@ -2773,9 +2773,10 @@ static void manage_codec_prio(void) } puts(""); - puts("Enter codec name and its new priority (e.g. \"speex/16000 200\"), empty to cancel:"); + puts("Enter codec id and its new priority " + "(e.g. \"speex/16000 200\"), empty to cancel:"); - printf("Codec name and priority: "); + printf("Codec name (\"*\" for all) and priority: "); fgets(input, sizeof(input), stdin); if (input[0]=='\r' || input[0]=='\n') { puts("Done"); |