Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
deb40de4
Commit
deb40de4
authored
Apr 29, 2014
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2transform: Add more traces
parent
74a64be0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
sys/v4l2/gstv4l2transform.c
sys/v4l2/gstv4l2transform.c
+6
-2
No files found.
sys/v4l2/gstv4l2transform.c
View file @
deb40de4
...
...
@@ -317,6 +317,8 @@ gst_v4l2_transform_decide_allocation (GstBaseTransform * trans,
GstV4l2Transform
*
self
=
GST_V4L2_TRANSFORM
(
trans
);
gboolean
ret
=
FALSE
;
GST_DEBUG_OBJECT
(
self
,
"called"
);
if
(
gst_v4l2_object_decide_allocation
(
self
->
v4l2capture
,
query
))
{
GstBufferPool
*
pool
=
GST_BUFFER_POOL
(
self
->
v4l2capture
->
pool
);
...
...
@@ -342,6 +344,8 @@ gst_v4l2_transform_propose_allocation (GstBaseTransform * trans,
GstV4l2Transform
*
self
=
GST_V4L2_TRANSFORM
(
trans
);
gboolean
ret
=
FALSE
;
GST_DEBUG_OBJECT
(
self
,
"called"
);
if
(
decide_query
==
NULL
)
ret
=
TRUE
;
else
...
...
@@ -470,7 +474,7 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
}
GST_DEBUG_OBJECT
(
self
,
"Queue input buffer"
);
ret
=
gst_v4l2_buffer_pool_process
(
GST_V4L2_BUFFER_POOL
(
pool
),
inbuf
);
ret
=
gst_v4l2_buffer_pool_process
(
GST_V4L2_BUFFER_POOL
(
pool
),
&
inbuf
);
if
(
G_UNLIKELY
(
ret
!=
GST_FLOW_OK
))
goto
beach
;
...
...
@@ -487,7 +491,7 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
goto
alloc_failed
;
pool
=
self
->
v4l2capture
->
pool
;
ret
=
gst_v4l2_buffer_pool_process
(
GST_V4L2_BUFFER_POOL
(
pool
),
*
outbuf
);
ret
=
gst_v4l2_buffer_pool_process
(
GST_V4L2_BUFFER_POOL
(
pool
),
outbuf
);
if
(
ret
!=
GST_FLOW_OK
)
{
gst_buffer_unref
(
*
outbuf
);
...
...
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