[vlc-commits] video_output: opengl: check BT.601 and other cases assume BT.709

Ilkka Ollakka git at videolan.org
Sun Apr 17 11:27:36 CEST 2016


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Apr 17 12:25:34 2016 +0300| [36d3ac5e3c7f3bc7fd512d6bc17b705e5c8d6bc8] | committer: Ilkka Ollakka

video_output: opengl: check BT.601 and other cases assume BT.709

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

 modules/video_output/opengl.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index df15804..d6217b5 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -278,8 +278,7 @@ static void BuildYUVFragmentShader(vout_display_opengl_t *vgl,
         case COLOR_SPACE_BT601:
             matrix = matrix_bt601_tv2full;
             break;
-        case COLOR_SPACE_BT709:
-        case COLOR_SPACE_BT2020:
+        default:
             matrix = matrix_bt709_tv2full;
     };
 



More information about the vlc-commits mailing list