[vlc-commits] videotoolbox: lower VT error logs level
Thomas Guillem
git at videolan.org
Tue Jan 9 18:19:53 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jan 9 13:26:56 2018 +0100| [7fe8c564941fddae8386fe4b9642d1211c973574] | committer: Thomas Guillem
videotoolbox: lower VT error logs level
Since they may be not critical.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fe8c564941fddae8386fe4b9642d1211c973574
---
modules/codec/videotoolbox.m | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index c14abf69d1..0c5a8a1f04 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -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
More information about the vlc-commits
mailing list