mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
xvimagesink: free owned discarded pool configuration
This commit is contained in:
parent
781f9474ea
commit
090a8b2273
1 changed files with 1 additions and 0 deletions
|
@ -1960,6 +1960,7 @@ gst_xvimagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
|
||||||
GST_DEBUG_OBJECT (xvimagesink, "pool has different caps");
|
GST_DEBUG_OBJECT (xvimagesink, "pool has different caps");
|
||||||
/* different caps, we can't use this pool */
|
/* different caps, we can't use this pool */
|
||||||
gst_object_unref (pool);
|
gst_object_unref (pool);
|
||||||
|
gst_structure_free (config);
|
||||||
pool = NULL;
|
pool = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue