mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
[V4L2] detect core caps correctly
This commit is contained in:
parent
9558a47ada
commit
e524ee1834
@ -369,7 +369,7 @@ static void *v4l_init(const char *device, uint64_t caps, unsigned width, unsigne
|
||||
{
|
||||
struct stat st;
|
||||
|
||||
if (!(caps & RETRO_CAMERA_BUFFER_RAW_FRAMEBUFFER))
|
||||
if ((caps & (1ULL << RETRO_CAMERA_BUFFER_RAW_FRAMEBUFFER)) == 0)
|
||||
{
|
||||
RARCH_ERR("video4linux2 returns raw framebuffers.\n");
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user