[vlc-commits] omxil: Signal OMX version 1.1.2 when targeting raspberry pi

Martin Storsjö git at videolan.org
Mon Mar 18 17:41:15 CET 2013


vlc | branch: master | Martin Storsjö <martin at martin.st> | Mon Mar 11 16:52:13 2013 +0200| [595e624fc9ef00300b80a18d3d2e91888fba6667] | committer: Martin Storsjö

omxil: Signal OMX version 1.1.2 when targeting raspberry pi

The broadcom OMX IL core requires this in order to respond to
requests.

In principle, this shouldn't probably break other OMX implementations,
unless they are picky about it in the same way, requiring version
1.1.1, but still keeping it behind ifdefs just in case.

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

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

 modules/codec/omxil/omxil_utils.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/codec/omxil/omxil_utils.h b/modules/codec/omxil/omxil_utils.h
index afe0978..8f113b4 100644
--- a/modules/codec/omxil/omxil_utils.h
+++ b/modules/codec/omxil/omxil_utils.h
@@ -29,6 +29,11 @@
 #define OMX_VERSION_MINOR 0
 #define OMX_VERSION_REV   0
 #define OMX_VERSION_STEP  0
+#elif defined(RPI_OMX)
+#define OMX_VERSION_MAJOR 1
+#define OMX_VERSION_MINOR 1
+#define OMX_VERSION_REV   2
+#define OMX_VERSION_STEP  0
 #else
 #define OMX_VERSION_MAJOR 1
 #define OMX_VERSION_MINOR 1



More information about the vlc-commits mailing list