Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
972cf809
Commit
972cf809
authored
May 04, 2014
by
Nicolas Dufresne
Committed by
Nicolas Dufresne
May 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2bufferpool: Improve debugging
parent
c7d735a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.c
+7
-3
No files found.
sys/v4l2/gstv4l2bufferpool.c
View file @
972cf809
...
...
@@ -595,6 +595,8 @@ start_streaming (GstV4l2BufferPool * pool)
{
GstV4l2Object
*
obj
=
pool
->
obj
;
GST_DEBUG_OBJECT
(
pool
,
"start streaming"
);
if
(
pool
->
streaming
)
return
TRUE
;
...
...
@@ -632,10 +634,11 @@ start_streaming (GstV4l2BufferPool * pool)
goto
requeue_failed
;
}
GST_DEBUG_OBJECT
(
pool
,
"STREAMON"
);
if
(
v4l2_ioctl
(
pool
->
video_fd
,
VIDIOC_STREAMON
,
&
obj
->
type
)
<
0
)
goto
start_failed
;
GST_DEBUG_OBJECT
(
pool
,
"STREAMON"
);
break
;
}
default:
...
...
@@ -880,10 +883,11 @@ stop_streaming (GstV4l2BufferPool * pool)
case
GST_V4L2_IO_USERPTR
:
case
GST_V4L2_IO_DMABUF
:
case
GST_V4L2_IO_DMABUF_IMPORT
:
GST_DEBUG_OBJECT
(
pool
,
"STREAMOFF"
);
if
(
v4l2_ioctl
(
pool
->
video_fd
,
VIDIOC_STREAMOFF
,
&
obj
->
type
)
<
0
)
goto
stop_failed
;
GST_DEBUG_OBJECT
(
pool
,
"STREAMOFF"
);
gst_v4l2_allocator_flush
(
pool
->
vallocator
);
for
(
i
=
0
;
i
<
pool
->
num_allocated
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment