diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index f27c40811a..dfc03c5bdd 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);