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
6f5edb3b
Commit
6f5edb3b
authored
Apr 29, 2014
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2transform: Handle FLUSH_STOP event
parent
815c9b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
sys/v4l2/gstv4l2transform.c
sys/v4l2/gstv4l2transform.c
+5
-0
No files found.
sys/v4l2/gstv4l2transform.c
View file @
6f5edb3b
...
...
@@ -533,8 +533,13 @@ gst_v4l2_transform_sink_event (GstBaseTransform * trans, GstEvent * event)
switch
(
GST_EVENT_TYPE
(
event
))
{
case
GST_EVENT_FLUSH_START
:
GST_DEBUG_OBJECT
(
self
,
"flush start"
);
gst_v4l2_object_unlock
(
self
->
v4l2output
);
gst_v4l2_object_unlock
(
self
->
v4l2capture
);
case
GST_EVENT_FLUSH_STOP
:
GST_DEBUG_OBJECT
(
self
,
"flush stop"
);
gst_v4l2_object_unlock_stop
(
self
->
v4l2output
);
gst_v4l2_object_unlock_stop
(
self
->
v4l2capture
);
default:
break
;
}
...
...
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