Changeset 3253 for pjproject/trunk


Ignore:
Timestamp:
Aug 6, 2010 3:24:15 AM (14 years ago)
Author:
nanang
Message:

Misc (re #1068): fix codec selection menu in symbian_ua app to hide disabled passthrough codecs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/symbian_ua/ua.cpp

    r3110 r3253  
    647647            "Codec Menu:\n" 
    648648            "  a    Enable all codecs\n" 
    649 #if PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 
     649#if PJMEDIA_HAS_PASSTHROUGH_CODECS && PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 
    650650            "  d    Enable only AMR\n" 
    651651#endif 
    652 #if PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 
     652#if PJMEDIA_HAS_PASSTHROUGH_CODECS && PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 
    653653            "  g    Enable only G.729\n" 
    654654#endif 
    655 #if PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 
     655#if PJMEDIA_HAS_PASSTHROUGH_CODECS && PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 
    656656            "  j    Enable only iLBC\n" 
    657657#endif 
Note: See TracChangeset for help on using the changeset viewer.