mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
decodebin: Free factories array when delaying autoplugging due to non-final caps
This commit is contained in:
parent
2c4bd2296a
commit
72eb84a900
1 changed files with 1 additions and 0 deletions
|
@ -1756,6 +1756,7 @@ analyze_new_pad (GstDecodeBin * dbin, GstElement * src, GstPad * pad,
|
|||
if (!caps) {
|
||||
GST_DEBUG_OBJECT (dbin, "No final caps set yet, delaying autoplugging");
|
||||
gst_object_unref (dpad);
|
||||
g_value_array_free (factories);
|
||||
goto setup_caps_delay;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue