Commit 0aa7bd8a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Require "complete" enough libxcb-xv

parent 25fccb94
......@@ -3187,11 +3187,6 @@ AS_IF([test "${enable_xcb}" != "no"], [
AS_IF([test "${enable_xvideo}" != "no"], [
PKG_CHECK_MODULES(XCB_XV, [xcb-xv >= 1.1.90.1], [
VLC_ADD_PLUGIN([xcb_xv])
], [
PKG_CHECK_MODULES(XCB_XV, [xcb-xv], [
VLC_ADD_PLUGIN([xcb_xv])
VLC_ADD_CFLAGS([xcb_xv], [-DXCB_XV_OLD])
])
])
])
......
......@@ -247,11 +247,7 @@ FindFormat (vout_display_t *vd,
xcb_connection_t *conn = vd->sys->conn;
const xcb_xv_image_format_info_t *f, *end;
#ifndef XCB_XV_OLD
f = xcb_xv_list_image_formats_format (list);
#else
f = (xcb_xv_image_format_info_t *) (list + 1);
#endif
end = f + xcb_xv_list_image_formats_format_length (list);
for (; f < end; f++)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment