projects
/
platform
/
upstream
/
gst-plugins-good.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
v4l2allocator: Set the flags on the object
[platform/upstream/gst-plugins-good.git]
/
sys
/
v4l2
/
gstv4l2allocator.c
diff --git
a/sys/v4l2/gstv4l2allocator.c
b/sys/v4l2/gstv4l2allocator.c
index
48a71d3
..
4677019
100644
(file)
--- a/
sys/v4l2/gstv4l2allocator.c
+++ b/
sys/v4l2/gstv4l2allocator.c
@@
-614,6
+614,8
@@
gst_v4l2_allocator_new (GstObject * parent, gint video_fd,
flags |= GST_V4L2_ALLOCATOR_PROBE (allocator, USERPTR);
flags |= GST_V4L2_ALLOCATOR_PROBE (allocator, DMABUF);
+ GST_OBJECT_FLAG_SET (allocator, flags);
+
if (flags == 0)
goto not_supported;