[vlc-commits] videotoolbox: lower VT error logs level
Thomas Guillem
git at videolan.org
Fri Jan 12 09:48:46 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jan 9 13:26:56 2018 +0100| [02fbc39b954cfaf5e0718322d20358f1d9b2b907] | committer: Thomas Guillem
videotoolbox: lower VT error logs level
Since they may be not critical.
(cherry picked from commit 7fe8c564941fddae8386fe4b9642d1211c973574)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=02fbc39b954cfaf5e0718322d20358f1d9b2b907
---
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