From 6de00d10c88486fc013ebca40b5ff103285d527d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Jan 2017 10:22:11 +0100 Subject: vo_opengl: hwdec_vaegl: fix terminology in comment Bad idea to call a component "pixel" - that's true only for the Y plane. --- video/out/opengl/hwdec_vaegl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video') diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c index 97a22221cf..d70c036e51 100644 --- a/video/out/opengl/hwdec_vaegl.c +++ b/video/out/opengl/hwdec_vaegl.c @@ -315,12 +315,12 @@ static int map_frame(struct gl_hwdec *hw, struct mp_image *hw_image, mp_image_setfmt(&layout, mpfmt); int drm_fmts[8] = { - // 1 bytes per pixel, 1-4 components + // 1 bytes per component, 1-4 components MP_FOURCC('R', '8', ' ', ' '), // DRM_FORMAT_R8 MP_FOURCC('G', 'R', '8', '8'), // DRM_FORMAT_GR88 MP_FOURCC('R', 'G', '2', '4'), // DRM_FORMAT_RGB888 MP_FOURCC('R', 'A', '2', '4'), // DRM_FORMAT_RGBA8888 - // 2 bytes per pixel, 1-4 components + // 2 bytes per component, 1-4 components MP_FOURCC('R', '1', '6', ' '), // proposed DRM_FORMAT_R16 MP_FOURCC('G', 'R', '3', '2'), // proposed DRM_FORMAT_GR32 0, // N/A -- cgit v1.2.3