diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-03-26 16:18:17 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-03-26 16:18:17 +0000 |
commit | 12ba526b1639343c079b7e38f879051ee6f8c13e (patch) | |
tree | 988331ee2f401564325f989a0e4d9ddcae9f65ac /pjmedia/src/test/test.c | |
parent | 20728822ce9bf39f8eba1a79530edbe0af7ec731 (diff) |
Updated pjmedia_test with the latest jitter buffer API
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1895 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/test/test.c')
-rw-r--r-- | pjmedia/src/test/test.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pjmedia/src/test/test.c b/pjmedia/src/test/test.c index 9a5870c5..9a1e208e 100644 --- a/pjmedia/src/test/test.c +++ b/pjmedia/src/test/test.c @@ -35,7 +35,7 @@ pj_pool_factory *mem; void app_perror(pj_status_t status, const char *msg) { - char errbuf[PJMEDIA_ERR_MSG_SIZE]; + char errbuf[PJ_ERR_MSG_SIZE]; pjmedia_strerror(status, errbuf, sizeof(errbuf)); @@ -44,7 +44,7 @@ void app_perror(pj_status_t status, const char *msg) int test_main(void) { - int rc; + int rc = 0; pj_caching_pool caching_pool; pj_init(); @@ -54,16 +54,14 @@ int test_main(void) mem = &caching_pool.factory; - DO_TEST(sdp_neg_test()); + //DO_TEST(sdp_neg_test()); //sdp_test (&caching_pool.factory); //rtp_test(&caching_pool.factory); //session_test (&caching_pool.factory); - //jbuf_main(&caching_pool.factory); + jbuf_main(); PJ_LOG(3,(THIS_FILE," ")); -on_return: - if (rc != 0) { PJ_LOG(3,(THIS_FILE,"Test completed with error(s)!")); } else { |