- Timestamp:
- Dec 14, 2010 1:03:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/test/test.c
r3392 r3395 48 48 int rc = 0; 49 49 pj_caching_pool caching_pool; 50 pj_pool_t *pool; 50 51 51 52 pj_init(); 52 53 pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); 53 54 pool = pj_pool_create(&caching_pool.factory, "test", 1000, 512, NULL); 55 54 56 pj_log_set_decor(PJ_LOG_HAS_NEWLINE); 55 57 pj_log_set_level(3); 56 58 57 59 mem = &caching_pool.factory; 60 61 pjmedia_video_format_mgr_create(pool, 64, 0, NULL); 62 pjmedia_converter_mgr_create(pool, NULL); 63 pjmedia_vid_codec_mgr_create(pool, NULL); 58 64 59 65 #if HAS_VID_DEV_TEST … … 90 96 } 91 97 98 pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr_instance()); 99 pjmedia_converter_mgr_destroy(pjmedia_converter_mgr_instance()); 100 pjmedia_vid_codec_mgr_destroy(pjmedia_vid_codec_mgr_instance()); 101 102 pj_pool_release(pool); 92 103 pj_caching_pool_destroy(&caching_pool); 93 104
Note: See TracChangeset
for help on using the changeset viewer.