Freescale / gstreamer-imx

GStreamer 1.0 plugins for i.MX platforms
Other
184 stars 127 forks source link

Regression: Build failure on i.MX8Mx platforms #328

Open tq-steina opened 2 months ago

tq-steina commented 2 months ago

Commit ae49f5fe4a88295cd3a1be588a904546ba7425d7 introduced usage of imx_vpu_api_enc_get_skipped_frame_info() from libimxvpuapi. But this function is only available on i.MX6 CODA or i.MX8M Mini H1 VPU, but not on i.MX8Mx VPUs

This completly breaks building gstreamer-imx on this platform resulting in a linker errors:

| /mnt/ssd/repo/ci-meta-tq-scarthgap/build_tqma8mx/tmp/work/cortexa53-crypto-mx8m-tq-linux/gstreamer1.0-plugins-imx/2.2.0+git/recipe-sysroot-native/usr/bin/aarch64-tq-linux/../../libexec/aarch64-tq-linux/gcc/aarch64-tq-linux/13.3.0/ld: ext/vpu/libgstimxvpu.so.p/gstimxvpuenc.c.o: in function `gst_imx_vpu_enc_encode_queued_frames':
| /usr/src/debug/gstreamer1.0-plugins-imx/2.2.0+git/ext/vpu/gstimxvpuenc.c:878:(.text+0xa44): undefined reference to `imx_vpu_api_enc_get_encoded_frame_ext'
| /mnt/ssd/repo/ci-meta-tq-scarthgap/build_tqma8mx/tmp/work/cortexa53-crypto-mx8m-tq-linux/gstreamer1.0-plugins-imx/2.2.0+git/recipe-sysroot-native/usr/bin/aarch64-tq-linux/../../libexec/aarch64-tq-linux/gcc/aarch64-tq-linux/13.3.0/ld: /usr/src/debug/gstreamer1.0-plugins-imx/2.2.0+git/ext/vpu/gstimxvpuenc.c:916:(.text+0xac8): undefined reference to `imx_vpu_api_enc_get_skipped_frame_info'
tq-schifferm commented 2 months ago

PR to fix the issue at https://github.com/Freescale/libimxvpuapi/pull/62