diff --git a/subprojects/gst-plugins-good/gst/multifile/gstmultifilesrc.c b/subprojects/gst-plugins-good/gst/multifile/gstmultifilesrc.c index b2fabc878e..48221b9ada 100644 --- a/subprojects/gst-plugins-good/gst/multifile/gstmultifilesrc.c +++ b/subprojects/gst-plugins-good/gst/multifile/gstmultifilesrc.c @@ -343,6 +343,7 @@ gst_multi_file_src_set_property (GObject * object, guint prop_id, src->fps_n = -1; src->fps_d = -1; } + gst_caps_unref (new_caps); } break; case PROP_LOOP: