diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-09-29 08:31:15 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-09-29 08:31:15 +0000 |
commit | 21bee233619f1e2187345efd4eaed85e49facc5b (patch) | |
tree | 53db607a42e99c01d67c8e0612b29ec9313b4755 /pjsip/src | |
parent | 90bbdfb85e44e2be7a185a7f8288bd50371d735a (diff) |
Closed #1361: codec API change. Details:
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode()
- codec has new "packing" setting
- updated stream, aviplay, codec-test, and stream-util due to above
- minor doxygen documentation fixes here and there
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_vid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_vid.c b/pjsip/src/pjsua-lib/pjsua_vid.c index fe9c5925..e24578b8 100644 --- a/pjsip/src/pjsua-lib/pjsua_vid.c +++ b/pjsip/src/pjsua-lib/pjsua_vid.c @@ -224,7 +224,7 @@ PJ_DEF(pj_status_t) pjsua_vid_enum_codecs( pjsua_codec_info id[], } for (i=0, j=0; i<count && j<*p_count; ++i) { - if (info[i].has_rtp_pack) { + if (info[i].packings & PJMEDIA_VID_PACKING_PACKETS) { pj_bzero(&id[j], sizeof(pjsua_codec_info)); pjmedia_vid_codec_info_to_id(&info[i], id[j].buf_, sizeof(id[j].buf_)); |