summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2019-04-10 00:16:27 +0100
committerTim-Philipp Müller <tim@centricular.com>2019-04-10 00:20:37 +0100
commit6ce69859c5e97195bb2864505cc5d4f84f3f6f70 (patch)
tree4b7a2131953a3a591239998e0dd635bb366bad86
parent91356c9a7d3479d192047d1806c87ec1bf0a8778 (diff)
downloadgst-omx-6ce69859c5e97195bb2864505cc5d4f84f3f6f70.tar.gz
omx: fix autotools build for generic target
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
-rw-r--r--omx/gstomxvideoenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c
index f27c408..dfc03c5 100644
--- 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);