Commit 7fe8c564 authored by Thomas Guillem's avatar Thomas Guillem

videotoolbox: lower VT error logs level

Since they may be not critical.
parent 40a40187
......@@ -1645,7 +1645,7 @@ static int HandleVTStatus(decoder_t *p_dec, OSStatus status,
enum vtsession_status * p_vtsession_status)
{
#define VTERRCASE(x) \
case x: msg_Err(p_dec, "vt session error: '" #x "'"); break;
case x: msg_Warn(p_dec, "vt session error: '" #x "'"); break;
switch (status)
{
......@@ -1682,11 +1682,11 @@ static int HandleVTStatus(decoder_t *p_dec, OSStatus status,
VTERRCASE(kVTCouldNotFindTemporalFilterErr)
VTERRCASE(kVTPixelTransferNotPermittedErr)
case -12219:
msg_Err(p_dec, "vt session error: "
"'kVTColorCorrectionImageRotationFailedErr'");
msg_Warn(p_dec, "vt session error: "
"'kVTColorCorrectionImageRotationFailedErr'");
break;
default:
msg_Err(p_dec, "unknown vt session error (%i)", (int)status);
msg_Warn(p_dec, "unknown vt session error (%i)", (int)status);
}
#undef VTERRCASE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment