diff options
author | wm4 <wm4@nowhere> | 2017-01-13 10:22:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-13 10:22:11 +0100 |
commit | 6de00d10c88486fc013ebca40b5ff103285d527d (patch) | |
tree | 5afed763193f5335491508d04d4f1cfd61bc8c54 | |
parent | 14010e7cf66646994af6d38a890c503c6c99fc01 (diff) | |
download | mpv-6de00d10c88486fc013ebca40b5ff103285d527d.tar.bz2 mpv-6de00d10c88486fc013ebca40b5ff103285d527d.tar.xz |
vo_opengl: hwdec_vaegl: fix terminology in comment
Bad idea to call a component "pixel" - that's true only for the Y plane.
-rw-r--r-- | video/out/opengl/hwdec_vaegl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |