From 779c042ed208692ef8b29d37e8f05ff2dd0aa6b6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 16 Apr 2015 15:43:01 -0500 Subject: [PATCH] FS-7515: tweak --- src/mod/applications/mod_cv/mod_cv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_cv/mod_cv.cpp b/src/mod/applications/mod_cv/mod_cv.cpp index f4b03691a4..46a33799e3 100644 --- a/src/mod/applications/mod_cv/mod_cv.cpp +++ b/src/mod/applications/mod_cv/mod_cv.cpp @@ -661,8 +661,8 @@ static switch_status_t video_thread_callback(switch_core_session_t *session, swi } } - int w = context->rawImage->width; - int h = context->rawImage->height; + int w = frame->img->d_w;//context->rawImage->width; + int h = frame->img->d_h;//context->rawImage->height; if (context->debug || !context->overlay_count) { libyuv::RGB24ToI420((uint8_t *)context->rawImage->imageData, w * 3,