diff options
Diffstat (limited to 'lib/v4l2-source.c')
-rw-r--r-- | lib/v4l2-source.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/v4l2-source.c b/lib/v4l2-source.c index 8cb9aef..22fe3da 100644 --- a/lib/v4l2-source.c +++ b/lib/v4l2-source.c @@ -170,6 +170,7 @@ struct video_source *v4l2_video_source_create(const char *devname) memset(src, 0, sizeof *src); src->src.ops = &v4l2_source_ops; + src->src.type = VIDEO_SOURCE_DMABUF; src->vdev = v4l2_open(devname); if (!src->vdev) { |