Changeset 6013


Ignore:
Timestamp:
May 28, 2019 6:03:17 AM (8 months ago)
Author:
ming
Message:

Re #2147 (misc): Fixed assertion in pjmedia test if video is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/test.c

    r4624 r6013  
    7070    mem = &caching_pool.factory; 
    7171 
     72    pjmedia_event_mgr_create(pool, 0, NULL); 
     73 
    7274#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 
    7375    pjmedia_video_format_mgr_create(pool, 64, 0, NULL); 
    7476    pjmedia_converter_mgr_create(pool, NULL); 
    75     pjmedia_event_mgr_create(pool, 0, NULL); 
    7677    pjmedia_vid_codec_mgr_create(pool, NULL); 
    7778#endif 
     
    117118    pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr_instance()); 
    118119    pjmedia_converter_mgr_destroy(pjmedia_converter_mgr_instance()); 
    119     pjmedia_event_mgr_destroy(pjmedia_event_mgr_instance()); 
    120120    pjmedia_vid_codec_mgr_destroy(pjmedia_vid_codec_mgr_instance()); 
    121121#endif 
     122 
     123    pjmedia_event_mgr_destroy(pjmedia_event_mgr_instance()); 
    122124 
    123125    pj_pool_release(pool); 
Note: See TracChangeset for help on using the changeset viewer.