mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
playsinkconvertbin: No need to remove the identity
The identity element should be handled by the GstBin's cleanup, removing it on the remove_elements function might remove it too soon, as this function can be called directly from playsink
This commit is contained in:
parent
34f72da9cc
commit
f9ea3fdda8
1 changed files with 0 additions and 5 deletions
|
@ -399,11 +399,6 @@ gst_play_sink_convert_bin_remove_elements (GstPlaySinkConvertBin * self)
|
||||||
g_list_free (self->conversion_elements);
|
g_list_free (self->conversion_elements);
|
||||||
self->conversion_elements = NULL;
|
self->conversion_elements = NULL;
|
||||||
}
|
}
|
||||||
if (self->identity) {
|
|
||||||
gst_element_set_state (self->identity, GST_STATE_NULL);
|
|
||||||
gst_bin_remove (GST_BIN_CAST (self), self->identity);
|
|
||||||
self->identity = NULL;
|
|
||||||
}
|
|
||||||
if (self->converter_caps) {
|
if (self->converter_caps) {
|
||||||
gst_caps_unref (self->converter_caps);
|
gst_caps_unref (self->converter_caps);
|
||||||
self->converter_caps = NULL;
|
self->converter_caps = NULL;
|
||||||
|
|
Loading…
Reference in a new issue