[MPlayer-cvslog] r37954 - trunk/sub/osd.c
    al 
    subversion at mplayerhq.hu
       
    Thu Sep  7 01:05:42 EEST 2017
    
    
  
Author: al
Date: Thu Sep  7 01:05:41 2017
New Revision: 37954
Log:
osd: Add NV12/21 support
Add support for NV12/NV21 by just using the YV12 code. It works since it
doesn't actually touch chroma.
LGTM'd-by: Reimar
Patch-by: Ville Syrjälä >syrjala sci fi<
Modified:
   trunk/sub/osd.c
Modified: trunk/sub/osd.c
==============================================================================
--- trunk/sub/osd.c	Wed Aug 30 23:16:40 2017	(r37953)
+++ trunk/sub/osd.c	Thu Sep  7 01:05:41 2017	(r37954)
@@ -450,6 +450,8 @@ vo_draw_alpha_func vo_get_draw_alpha(uns
     case IMGFMT_YV12:
     case IMGFMT_I420:
     case IMGFMT_IYUV:
+    case IMGFMT_NV12:
+    case IMGFMT_NV21:
         return vo_draw_alpha_yv12;
     case IMGFMT_YUY2:
     case IMGFMT_YVYU:
    
    
More information about the MPlayer-cvslog
mailing list