diff options
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r-- | video/out/opengl/video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 948eefe096..c636d12135 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -2571,6 +2571,8 @@ static void gl_video_upload_image(struct gl_video *p, struct mp_image *mpi) .gl_target = plane->gl_target, .gl_texture = plane->gl_texture, }; + snprintf(vimg->planes[n].swizzle, sizeof(vimg->planes[n].swizzle), + "%s", plane->swizzle); } } else { MP_FATAL(p, "Mapping hardware decoded surface failed.\n"); |