diff options
author | Boubacar DIENE <boubacar.diene@gmail.com> | 2019-01-31 00:12:16 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2019-02-06 07:36:34 +0000 |
commit | b319d141105044f612ada1efe62685b2c5dd4514 (patch) | |
tree | 1d5ee9c5c08f3e651a42b6f59ab6f64ea1995221 /config.tests | |
parent | eb60877fe96d82d9d6e1a834857744799e6de4db (diff) |
Fix "error: too many arguments to function media_get_entity_by_name()"
Since the official v4l-utils-1.12.0 release, media_get_entity_by_name() function expects
only two arguments instead of three as in older versions thus breaking build of eglfs_kms_vsp2
backend.
Cf. https://git.linuxtv.org/v4l-utils.git/tree/utils/media-ctl/mediactl.h#n253
Fixes it by creating an overloaded wrapper function that will choose the right
version based on the signature of the media_get_entity_by_name function pointer
argument.
Fixes: QTBUG-73427
Change-Id: Idab52558b6f2f23137456c21e33ece1ef0e9aa4e
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions