Skip to content

Commit

Permalink
This must fix V4L2_CAP_EXT_PIX_FORMAT undecladed.
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed Apr 7, 2020
1 parent 4a2b364 commit e40061c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <linux/random.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>

#include "device.h"
Expand All @@ -38,6 +37,10 @@
#include "object.h"
#include "settings.h"

#ifndef V4L2_CAP_EXT_PIX_FORMAT
#define V4L2_CAP_EXT_PIX_FORMAT 0x00200000
#endif

struct akvcam_device
{
akvcam_object_t self;
Expand Down

0 comments on commit e40061c

Please sign in to comment.