Skip to content

Commit

Permalink
meson: also expose present_sync for VT-only after a96d04f
Browse files Browse the repository at this point in the history
$ meson setup --auto-features=disabled -Ddrm=enabled -Degl=enabled -Dgbm=enabled -Degl-drm=enabled /tmp/mpv_build
$ meson compile -C /tmp/mpv_build
[...]
ld: error: undefined symbol: mp_present_initialize
>>> referenced by drm_common.c
>>>               libmpv.so.2.2.0.p/video_out_drm_common.c.o:(vo_drm_init)

ld: error: undefined symbol: present_sync_update_values
>>> referenced by drm_common.c
>>>               libmpv.so.2.2.0.p/video_out_drm_common.c.o:(drm_pflip_cb)

ld: error: undefined symbol: present_sync_swap
>>> referenced by drm_common.c
>>>               libmpv.so.2.2.0.p/video_out_drm_common.c.o:(drm_pflip_cb)

ld: error: undefined symbol: present_sync_get_info
>>> referenced by vo_drm.c
>>>               libmpv.so.2.2.0.p/video_out_vo_drm.c.o:(get_vsync)
  • Loading branch information
jbeich authored and Dudemanguy committed Nov 22, 2023
1 parent 86b498e commit e575ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ if features['xv']
sources += files('video/out/vo_xv.c')
endif

if features['wayland'] or features['x11']
if features['wayland'] or features['x11'] or features['drm']
sources += ('video/out/present_sync.c')
endif

Expand Down

0 comments on commit e575ec4

Please sign in to comment.