[vlc-commits] iomx: Support building for honeycomb with ANDROID_API=13 as well

Martin Storsjö git at videolan.org
Mon Jul 28 09:59:04 CEST 2014


vlc | branch: master | Martin Storsjö <martin at martin.st> | Mon Jul 28 10:58:00 2014 +0300| [ae93285ea221edb5916ff6f8a6e9731a52276239] | committer: Martin Storsjö

iomx: Support building for honeycomb with ANDROID_API=13 as well

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae93285ea221edb5916ff6f8a6e9731a52276239
---

 modules/codec/omxil/iomx.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/omxil/iomx.cpp b/modules/codec/omxil/iomx.cpp
index 7b5c882..c75d835 100644
--- a/modules/codec/omxil/iomx.cpp
+++ b/modules/codec/omxil/iomx.cpp
@@ -193,7 +193,7 @@ static OMX_ERRORTYPE iomx_use_buffer(OMX_HANDLETYPE component, OMX_BUFFERHEADERT
     OMXNode* node = (OMXNode*) ((OMX_COMPONENTTYPE*)component)->pComponentPrivate;
     OMXBuffer* info = new OMXBuffer;
     info->dealer = NULL;
-#if ANDROID_API == 11
+#if ANDROID_API <= 13
     info->graphicBuffer = new GraphicBuffer((android_native_buffer_t*) data, false);
 #else
     info->graphicBuffer = new GraphicBuffer((ANativeWindowBuffer*) data, false);



More information about the vlc-commits mailing list