Changeset 6110 for pjproject/trunk/pjmedia/src/test/vid_codec_test.c
- Timestamp:
- Nov 22, 2019 6:18:55 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/test/vid_codec_test.c
r5659 r6110 470 470 #endif 471 471 472 #if PJMEDIA_HAS_VIDEO && PJMEDIA_HAS_VPX_CODEC 473 status = pjmedia_codec_vpx_vid_init(NULL, mem); 474 if (status != PJ_SUCCESS) { 475 return -22; 476 } 477 #endif 478 472 479 #if PJMEDIA_HAS_FFMPEG_VID_CODEC 473 480 status = pjmedia_codec_ffmpeg_vid_init(NULL, mem); … … 502 509 #endif 503 510 511 #if PJMEDIA_HAS_VPX_CODEC && PJMEDIA_HAS_VPX_CODEC_VP8 512 rc = encode_decode_test(pool, "vp8", PJMEDIA_VID_PACKING_WHOLE); 513 if (rc != 0) 514 goto on_return; 515 516 rc = encode_decode_test(pool, "vp8", PJMEDIA_VID_PACKING_PACKETS); 517 if (rc != 0) 518 goto on_return; 519 #endif 520 521 #if PJMEDIA_HAS_VPX_CODEC && PJMEDIA_HAS_VPX_CODEC_VP9 522 rc = encode_decode_test(pool, "vp9", PJMEDIA_VID_PACKING_WHOLE); 523 if (rc != 0) 524 goto on_return; 525 526 rc = encode_decode_test(pool, "vp9", PJMEDIA_VID_PACKING_PACKETS); 527 if (rc != 0) 528 goto on_return; 529 #endif 530 504 531 505 532 on_return: … … 513 540 pjmedia_codec_vid_toolbox_deinit(); 514 541 #endif 542 #if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 543 pjmedia_codec_vpx_vid_deinit(); 544 #endif 515 545 pjmedia_vid_dev_subsys_shutdown(); 516 546 pj_pool_release(pool);
Note: See TracChangeset
for help on using the changeset viewer.