FS-7515: tweak

This commit is contained in:
Anthony Minessale 2015-04-16 15:43:01 -05:00 committed by Michael Jerris
parent 93c841d9e8
commit 779c042ed2
1 changed files with 2 additions and 2 deletions

View File

@ -661,8 +661,8 @@ static switch_status_t video_thread_callback(switch_core_session_t *session, swi
} }
} }
int w = context->rawImage->width; int w = frame->img->d_w;//context->rawImage->width;
int h = context->rawImage->height; int h = frame->img->d_h;//context->rawImage->height;
if (context->debug || !context->overlay_count) { if (context->debug || !context->overlay_count) {
libyuv::RGB24ToI420((uint8_t *)context->rawImage->imageData, w * 3, libyuv::RGB24ToI420((uint8_t *)context->rawImage->imageData, w * 3,