FS-7515: tweak
This commit is contained in:
parent
93c841d9e8
commit
779c042ed2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue