mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
v4l2object: Remove uneeded cast for code clarity
This commit is contained in:
parent
16f0c253a3
commit
5284aca559
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue