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:
91356c9
)
omx: fix autotools build for generic target
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 9 Apr 2019 23:16:27 +0000
(
00:16
+0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 9 Apr 2019 23:20:37 +0000
(
00:20
+0100)
gstomxvideoenc.c:2874:7: error: "USE_OMX_TARGET_ZYNQ_USCALE_PLUS" is not defined, evaluates to 0 [-Werror=undef]
#elif USE_OMX_TARGET_ZYNQ_USCALE_PLUS
Works on meson because it doesn't use -Wundef
omx/gstomxvideoenc.c
patch
|
blob
|
history
diff --git
a/omx/gstomxvideoenc.c
b/omx/gstomxvideoenc.c
index
f27c408
..
dfc03c5
100644
(file)
--- a/
omx/gstomxvideoenc.c
+++ b/
omx/gstomxvideoenc.c
@@
-2871,7
+2871,7
@@
gst_omx_video_enc_handle_frame (GstVideoEncoder * encoder,
err =
gst_omx_component_set_config (self->enc,
OMX_IndexConfigBrcmVideoRequestIFrame, &config);
-#elif
USE_OMX_TARGET_ZYNQ_USCALE_PLUS
+#elif
defined(USE_OMX_TARGET_ZYNQ_USCALE_PLUS)
OMX_ALG_VIDEO_CONFIG_INSERT config;
GST_OMX_INIT_STRUCT (&config);