changeset 32902:a6eb88882b9f

Missing part of r32577: Add NV12/NV21/HM12 to query_format so they really work.
author reimar
date Mon, 28 Feb 2011 20:15:45 +0000
parents d5c110e49682
children 8cb530d39a6d
files libmpcodecs/ve_raw.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_raw.c	Mon Feb 28 17:51:02 2011 +0000
+++ b/libmpcodecs/ve_raw.c	Mon Feb 28 20:15:45 2011 +0000
@@ -129,6 +129,9 @@
     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: