[vlc-commits] videotoolbox: fix build

Thomas Guillem git at videolan.org
Thu Mar 30 10:27:48 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar 30 10:16:44 2017 +0200| [02a89c43b23b4295995eae815f58c411069ab520] | committer: Thomas Guillem

videotoolbox: fix build

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02a89c43b23b4295995eae815f58c411069ab520
---

 modules/codec/videotoolbox.m | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index bd2e3a7..d819cd7 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1195,8 +1195,10 @@ static int HandleVTStatus(decoder_t *p_dec, OSStatus status)
         VTERRCASE(kVTFrameSiloInvalidTimeRangeErr)
         VTERRCASE(kVTCouldNotFindTemporalFilterErr)
         VTERRCASE(kVTPixelTransferNotPermittedErr)
-        VTERRCASE(kVTColorCorrectionImageRotationFailedErr)
-
+        case -12219:
+            msg_Err(p_dec, "vt session error: "
+                    "'kVTColorCorrectionImageRotationFailedErr'");
+            break;
         default:
             msg_Err(p_dec, "unknown vt session error (%i)", (int)status);
     }



More information about the vlc-commits mailing list