projects
/
platform
/
upstream
/
gst-omx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c46492
)
omx: Initialize struct version with the OMX version we compiled with
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 19 Dec 2012 12:03:37 +0000
(13:03 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 19 Dec 2012 12:03:37 +0000
(13:03 +0100)
omx/gstomx.h
patch
|
blob
|
history
diff --git
a/omx/gstomx.h
b/omx/gstomx.h
index 947651b2bf6849d3ec3217717d5be6b8d8e50d51..d10d2a6aafb110d60e447247b05fcb3c08ab8a62 100644
(file)
--- a/
omx/gstomx.h
+++ b/
omx/gstomx.h
@@
-59,9
+59,9
@@
G_BEGIN_DECLS
#define GST_OMX_INIT_STRUCT(st) G_STMT_START { \
memset ((st), 0, sizeof (*(st))); \
(st)->nSize = sizeof (*(st)); \
- (st)->nVersion.s.nVersionMajor =
1
; \
- (st)->nVersion.s.nVersionMinor =
1
; \
- (st)->nVersion.s.nRevision =
2
; \
+ (st)->nVersion.s.nVersionMajor =
OMX_VERSION_MAJOR
; \
+ (st)->nVersion.s.nVersionMinor =
OMX_VERSION_MINOR
; \
+ (st)->nVersion.s.nRevision =
OMX_VERSION_REVISION
; \
} G_STMT_END
/* Different hacks that are required to work around