|
|
@@ -80,7 +80,6 @@ static bool get_local_video_frame(video_frame** frame, int itype, Clibvideoqueue
|
|
|
int ivideo_width = 0;
|
|
|
int ivideo_height = 0;
|
|
|
int isize = local_video_queue->GetFrameSize(ivideo_width, ivideo_height);
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("isize = %d, ivideo_width = %d, ivideo_height = %d.", isize, ivideo_width, ivideo_height);
|
|
|
blog = false;
|
|
|
}
|
|
|
|
|
|
@@ -220,7 +219,7 @@ static void* rvc_videorender_func(void* arg)
|
|
|
int ivideo_width = 0;
|
|
|
int ivideo_height = 0;
|
|
|
int isize = local_video_queue->GetFrameSize(ivideo_width, ivideo_height);
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("%s:%d isize = %d, ivideo_width = %d, ivideo_height = %d.",__FUNCTION__, __LINE__, isize, ivideo_width, ivideo_height);
|
|
|
+
|
|
|
if (ivideo_width > 0 && ivideo_height > 0) {
|
|
|
iwidth = ivideo_width;
|
|
|
iheight = ivideo_height;
|
|
|
@@ -271,7 +270,6 @@ static void* rvc_videorender_func(void* arg)
|
|
|
ivideo_width = 0;
|
|
|
ivideo_height = 0;
|
|
|
isize = local_video_queue->GetFrameSize(ivideo_width, ivideo_height);
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("%s:%d isize = %d, ivideo_width = %d, ivideo_height = %d.", __FUNCTION__, __LINE__, isize, ivideo_width, ivideo_height);
|
|
|
|
|
|
for (; ; ) {
|
|
|
#ifdef RVC_OS_WIN
|