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
5284aca5
Commit
5284aca5
authored
May 09, 2014
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2object: Remove uneeded cast for code clarity
parent
16f0c253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.c
+1
-1
No files found.
sys/v4l2/gstv4l2object.c
View file @
5284aca5
...
@@ -2994,7 +2994,7 @@ gst_v4l2_object_stop (GstV4l2Object * v4l2object)
...
@@ -2994,7 +2994,7 @@ gst_v4l2_object_stop (GstV4l2Object * v4l2object)
if
(
v4l2object
->
pool
)
{
if
(
v4l2object
->
pool
)
{
GST_DEBUG_OBJECT
(
v4l2object
->
element
,
"deactivating pool"
);
GST_DEBUG_OBJECT
(
v4l2object
->
element
,
"deactivating pool"
);
gst_buffer_pool_set_active
(
GST_BUFFER_POOL_CAST
(
v4l2object
->
pool
)
,
FALSE
);
gst_buffer_pool_set_active
(
v4l2object
->
pool
,
FALSE
);
gst_object_unref
(
v4l2object
->
pool
);
gst_object_unref
(
v4l2object
->
pool
);
v4l2object
->
pool
=
NULL
;
v4l2object
->
pool
=
NULL
;
}
}
...
...
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