summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/python/_pjsua.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-09-04 07:37:30 +0000
committerBenny Prijono <bennylp@teluu.com>2008-09-04 07:37:30 +0000
commit8884c7eb0514d621ee481c99dd00633bd8c2a724 (patch)
tree582b5a225a184e0f959a5e27c72f449ccd2c395e /pjsip-apps/src/python/_pjsua.h
parentfd06ab7299278576be5ee742b8fb8884054cbb0f (diff)
Ticke#609: Build/compilation error in Python module (undeclared dec_fmtp_mode/enc_fmtp_mode) (thanks Saul Ibarra for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2260 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/python/_pjsua.h')
-rw-r--r--pjsip-apps/src/python/_pjsua.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip-apps/src/python/_pjsua.h b/pjsip-apps/src/python/_pjsua.h
index 0deb0713..32e835a9 100644
--- a/pjsip-apps/src/python/_pjsua.h
+++ b/pjsip-apps/src/python/_pjsua.h
@@ -2986,8 +2986,10 @@ typedef struct
unsigned cng;
unsigned penh;
unsigned plc;
+#if 0
pj_uint8_t enc_fmtp_mode;
pj_uint8_t dec_fmtp_mode;
+#endif
} PyObj_pjmedia_codec_param_setting;
@@ -3023,6 +3025,7 @@ static PyMemberDef pjmedia_codec_param_setting_members[] =
offsetof(PyObj_pjmedia_codec_param_setting, plc), 0,
"Packet loss concealment"
},
+#if 0 // no longer valid with latest modification in codec
{
"enc_fmtp_mode", T_INT,
offsetof(PyObj_pjmedia_codec_param_setting, enc_fmtp_mode), 0,
@@ -3033,6 +3036,7 @@ static PyMemberDef pjmedia_codec_param_setting_members[] =
offsetof(PyObj_pjmedia_codec_param_setting, dec_fmtp_mode), 0,
"Mode param in fmtp (def:0)"
},
+#endif
{NULL} /* Sentinel */
};