[vlc-commits] caopengllayer: add missing debug

Felix Paul Kühne git at videolan.org
Sat Apr 16 17:44:10 CEST 2016


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Apr 16 18:44:02 2016 +0300| [54fc53680c0c4697fe91291829bcc89cb8192010] | committer: Felix Paul Kühne

caopengllayer: add missing debug

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

 modules/video_output/caopengllayer.m |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index d2da1f9..ab10594 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -201,21 +201,25 @@ static int Open (vlc_object_t *p_this)
                     case COLOR_PRIMARIES_BT601_525:
                     case COLOR_PRIMARIES_BT601_625:
                     {
+                        msg_Dbg(vd, "Using BT.601 color space");
                         sys->cgColorSpace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
                         break;
                     }
                     case COLOR_PRIMARIES_BT709:
                     {
+                        msg_Dbg(vd, "Using BT.709 color space");
                         sys->cgColorSpace = CGColorSpaceCreateWithName(kCGColorSpaceITUR_709);
                         break;
                     }
                     case COLOR_PRIMARIES_BT2020:
                     {
+                        msg_Dbg(vd, "Using BT.2020 color space");
                         sys->cgColorSpace = CGColorSpaceCreateWithName(kCGColorSpaceITUR_709);
                         break;
                     }
                     case COLOR_PRIMARIES_DCI_P3:
                     {
+                        msg_Dbg(vd, "Using DCI P3 color space");
                         sys->cgColorSpace = CGColorSpaceCreateWithName(kCGColorSpaceDCIP3);
                         break;
                     }



More information about the vlc-commits mailing list