mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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
This commit is contained in:
parent
91356c9a7d
commit
6ce69859c5
1 changed files with 1 additions and 1 deletions
|
@ -2871,7 +2871,7 @@ gst_omx_video_enc_handle_frame (GstVideoEncoder * encoder,
|
||||||
err =
|
err =
|
||||||
gst_omx_component_set_config (self->enc,
|
gst_omx_component_set_config (self->enc,
|
||||||
OMX_IndexConfigBrcmVideoRequestIFrame, &config);
|
OMX_IndexConfigBrcmVideoRequestIFrame, &config);
|
||||||
#elif USE_OMX_TARGET_ZYNQ_USCALE_PLUS
|
#elif defined(USE_OMX_TARGET_ZYNQ_USCALE_PLUS)
|
||||||
OMX_ALG_VIDEO_CONFIG_INSERT config;
|
OMX_ALG_VIDEO_CONFIG_INSERT config;
|
||||||
|
|
||||||
GST_OMX_INIT_STRUCT (&config);
|
GST_OMX_INIT_STRUCT (&config);
|
||||||
|
|
Loading…
Reference in a new issue