mirror of https://github.com/FreeRDP/FreeRDP
Added error logging.
This commit is contained in:
parent
721e05fc34
commit
7d4a84ca89
|
@ -115,8 +115,9 @@ static void CALLBACK yuv420_process_work_callback(PTP_CALLBACK_INSTANCE instance
|
|||
WINPR_UNUSED(instance);
|
||||
WINPR_UNUSED(work);
|
||||
|
||||
avc420_yuv_to_rgb(param->pYUVData, param->iStride, ¶m->rect, param->nDstStep, param->dest,
|
||||
param->DstFormat);
|
||||
if (!avc420_yuv_to_rgb(param->pYUVData, param->iStride, ¶m->rect, param->nDstStep,
|
||||
param->dest, param->DstFormat))
|
||||
WLog_WARN(TAG, "avc420_yuv_to_rgb failed");
|
||||
}
|
||||
|
||||
static void CALLBACK yuv444_process_work_callback(PTP_CALLBACK_INSTANCE instance, void* context,
|
||||
|
@ -126,8 +127,9 @@ static void CALLBACK yuv444_process_work_callback(PTP_CALLBACK_INSTANCE instance
|
|||
WINPR_UNUSED(instance);
|
||||
WINPR_UNUSED(work);
|
||||
|
||||
avc444_yuv_to_rgb(param->pYUVData, param->iStride, ¶m->rect, param->nDstStep, param->dest,
|
||||
param->DstFormat);
|
||||
if (!avc444_yuv_to_rgb(param->pYUVData, param->iStride, ¶m->rect, param->nDstStep,
|
||||
param->dest, param->DstFormat))
|
||||
WLog_WARN(TAG, "avc444_yuv_to_rgb failed");
|
||||
}
|
||||
|
||||
void yuv_context_reset(YUV_CONTEXT* context, UINT32 width, UINT32 height)
|
||||
|
|
Loading…
Reference in New Issue