mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
omx: Initialize struct version with the OMX version we compiled with
This commit is contained in:
parent
9c464924a5
commit
73dc5bb199
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue