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
4f7ee5c1
Commit
4f7ee5c1
authored
Mar 15, 2014
by
Víctor Manuel Jáquez Leal
Committed by
Nicolas Dufresne
May 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2transform: copy metdata
parent
b7811566
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
sys/v4l2/gstv4l2transform.c
sys/v4l2/gstv4l2transform.c
+8
-0
No files found.
sys/v4l2/gstv4l2transform.c
View file @
4f7ee5c1
...
@@ -407,6 +407,7 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
...
@@ -407,6 +407,7 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
GstV4l2Transform
*
self
=
GST_V4L2_TRANSFORM
(
trans
);
GstV4l2Transform
*
self
=
GST_V4L2_TRANSFORM
(
trans
);
GstBufferPool
*
pool
=
GST_BUFFER_POOL
(
self
->
v4l2output
->
pool
);
GstBufferPool
*
pool
=
GST_BUFFER_POOL
(
self
->
v4l2output
->
pool
);
GstFlowReturn
ret
=
GST_FLOW_OK
;
GstFlowReturn
ret
=
GST_FLOW_OK
;
GstBaseTransformClass
*
bclass
=
GST_BASE_TRANSFORM_CLASS
(
parent_class
);
if
(
gst_base_transform_is_passthrough
(
trans
))
{
if
(
gst_base_transform_is_passthrough
(
trans
))
{
GST_DEBUG_OBJECT
(
self
,
"Passthrough, no need to do anything"
);
GST_DEBUG_OBJECT
(
self
,
"Passthrough, no need to do anything"
);
...
@@ -441,6 +442,13 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
...
@@ -441,6 +442,13 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
*
outbuf
=
NULL
;
*
outbuf
=
NULL
;
}
}
if
(
bclass
->
copy_metadata
)
if
(
!
bclass
->
copy_metadata
(
trans
,
inbuf
,
*
outbuf
))
{
/* something failed, post a warning */
GST_ELEMENT_WARNING
(
self
,
STREAM
,
NOT_IMPLEMENTED
,
(
"could not copy metadata"
),
(
NULL
));
}
beach:
beach:
return
ret
;
return
ret
;
...
...
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