summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r--video/out/gl_video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 22f4100e9a..5f63c9517f 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -703,6 +703,8 @@ static void compile_shaders(struct gl_video *p)
shader_def(&header_conv, "USE_CONV", "CONV_NV12");
} else if (p->plane_count > 1) {
shader_def(&header_conv, "USE_CONV", "CONV_PLANAR");
+ } else {
+ shader_def(&header_conv, "USE_CONV", "0");
}
shader_def_opt(&header_conv, "USE_GBRP", p->image_format == IMGFMT_GBRP);