Changeset 6024
- Timestamp:
- Jun 12, 2019 4:51:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/call.cpp
r6009 r6024 545 545 if (med_idx < 0) { 546 546 for (unsigned i = 0; i < pj_ci.media_cnt; ++i) { 547 if (pj_ci.media[ med_idx].type == PJMEDIA_TYPE_VIDEO &&548 pj_ci.media[ med_idx].stream.vid.enc_slot != PJSUA_INVALID_ID)547 if (pj_ci.media[i].type == PJMEDIA_TYPE_VIDEO && 548 pj_ci.media[i].stream.vid.enc_slot != PJSUA_INVALID_ID) 549 549 { 550 550 med_idx = i; … … 583 583 if (med_idx < 0) { 584 584 for (unsigned i = 0; i < pj_ci.media_cnt; ++i) { 585 if (pj_ci.media[ med_idx].type == PJMEDIA_TYPE_VIDEO &&586 pj_ci.media[ med_idx].stream.vid.dec_slot != PJSUA_INVALID_ID)585 if (pj_ci.media[i].type == PJMEDIA_TYPE_VIDEO && 586 pj_ci.media[i].stream.vid.dec_slot != PJSUA_INVALID_ID) 587 587 { 588 588 med_idx = i;
Note: See TracChangeset
for help on using the changeset viewer.