diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-04-29 08:23:37 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-04-29 08:23:37 +0000 |
commit | facbd77aee687ac9d282597e415bab3d0df8d181 (patch) | |
tree | 4a5b14ba019df47b0d94086023baf5c307806412 /pjmedia/include | |
parent | cf86859ba01403735bdeb660dad2a660d3ce65ea (diff) |
Fixed bugs in codec priority sorting
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@421 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/codec.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pjmedia/include/pjmedia/codec.h b/pjmedia/include/pjmedia/codec.h index fbef4175..04bf449e 100644 --- a/pjmedia/include/pjmedia/codec.h +++ b/pjmedia/include/pjmedia/codec.h @@ -387,26 +387,26 @@ enum pjmedia_codec_priority * highest place in the order, and will change the priority * of previously highest priority codec to NEXT_HIGHER. */ - PJMEDIA_CODEC_PRIO_HIGHEST, + PJMEDIA_CODEC_PRIO_HIGHEST = 16, /** * This priority will put the codec as the next codec after * codecs with this same priority. */ - PJMEDIA_CODEC_PRIO_NEXT_HIGHER, + PJMEDIA_CODEC_PRIO_NEXT_HIGHER = 12, /** * This is the initial codec priority when it is registered to * codec manager by codec factory. */ - PJMEDIA_CODEC_PRIO_NORMAL, + PJMEDIA_CODEC_PRIO_NORMAL = 8, /** * This priority makes the codec the lowest in the order. * The last codec specified with this priority will be put * in the last place in the order. */ - PJMEDIA_CODEC_PRIO_LOWEST, + PJMEDIA_CODEC_PRIO_LOWEST = 4, /** * This priority will prevent the codec from being listed in the @@ -415,7 +415,7 @@ enum pjmedia_codec_priority * be listed by #pjmedia_codec_mgr_enum_codecs() and other codec * query functions. */ - PJMEDIA_CODEC_PRIO_DISABLED, + PJMEDIA_CODEC_PRIO_DISABLED = 0, }; |