[MPlayer-cvslog] r32989 - trunk/libmpcodecs/ve_raw.c

reimar subversion at mplayerhq.hu
Mon Feb 28 21:15:45 CET 2011


Author: reimar
Date: Mon Feb 28 21:15:45 2011
New Revision: 32989

Log:
Missing part of r32577: Add NV12/NV21/HM12 to query_format so they really
work.

Modified:
   trunk/libmpcodecs/ve_raw.c

Modified: trunk/libmpcodecs/ve_raw.c
==============================================================================
--- trunk/libmpcodecs/ve_raw.c	Mon Feb 28 18:51:02 2011	(r32988)
+++ trunk/libmpcodecs/ve_raw.c	Mon Feb 28 21:15:45 2011	(r32989)
@@ -129,6 +129,9 @@ static int query_format(struct vf_instan
     if (IMGFMT_IS_RGB(fmt) || IMGFMT_IS_BGR(fmt))
 	return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
     switch (fmt) {
+    case IMGFMT_NV12:
+    case IMGFMT_NV21:
+    case IMGFMT_HM12:
     case IMGFMT_I420:
     case IMGFMT_IYUV:
     case IMGFMT_YV12:


More information about the MPlayer-cvslog mailing list