Changeset 5982 for pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
- Timestamp:
- May 9, 2019 7:24:57 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c
r5392 r5982 372 372 case PJMEDIA_EVENT_WND_RESIZED: 373 373 status = resize_disp(strm, &pevent.data.wnd_resized.new_size); 374 if (status != PJ_SUCCESS) 375 PJ_LOG(3, (THIS_FILE, "Failed resizing the display.")); 374 if (status != PJ_SUCCESS) { 375 PJ_PERROR(3, (THIS_FILE, status, 376 "Failed resizing the display.")); 377 } 376 378 break; 377 379 case PJMEDIA_EVENT_WND_CLOSING: … … 1182 1184 1183 1185 status = sdl_create_window(strm, PJ_TRUE, sdl_info->sdl_format, hwnd); 1184 PJ_ LOG(4, (THIS_FILE, "Re-initializing SDL with native window"1185 " %d: %s", hwnd->info.window,1186 (status == PJ_SUCCESS? "success": "failed")));1186 PJ_PERROR(4, (THIS_FILE, status, 1187 "Re-initializing SDL with native window %d", 1188 hwnd->info.window)); 1187 1189 return status; 1188 1190 } … … 1301 1303 &jq->sem); 1302 1304 if (status != PJ_SUCCESS) { 1303 PJ_LOG(3, (THIS_FILE, "Failed growing SDL job queue size.")); 1305 PJ_PERROR(3, (THIS_FILE, status, 1306 "Failed growing SDL job queue size.")); 1304 1307 return 0; 1305 1308 } … … 1312 1315 &jq->job_sem[i]); 1313 1316 if (status != PJ_SUCCESS) { 1314 PJ_ LOG(3, (THIS_FILE, "Failed growing SDL job "1315 "queue size."));1317 PJ_PERROR(3, (THIS_FILE, status, 1318 "Failed growing SDL job queue size.")); 1316 1319 return 0; 1317 1320 }
Note: See TracChangeset
for help on using the changeset viewer.