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

Skip output-only XVideo adapters

We need PutImage meaning the Input and the Image bits in type mask.
Output adapters are rather rare (the _exotic_ Xorg V4L2 driver is one).
(cherry picked from commit 6b389f7b27df05ba4700a1b5f578d643782238aa)
parent 220d1714
......@@ -359,7 +359,8 @@ static int Open (vlc_object_t *obj)
continue;
}
if (!(a->type & XCB_XV_TYPE_IMAGE_MASK))
if (!(a->type & XCB_XV_TYPE_INPUT_MASK)
|| !(a->type & XCB_XV_TYPE_IMAGE_MASK))
continue;
xcb_xv_list_image_formats_reply_t *r =
......
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