summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/pbutils/encoding-profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c
index 54439961d..5cd25416d 100644
--- a/gst-libs/gst/pbutils/encoding-profile.c
+++ b/gst-libs/gst/pbutils/encoding-profile.c
@@ -1530,6 +1530,7 @@ add_stream_to_profile (GstEncodingContainerProfile * profile,
n_streams++;
}
gst_discoverer_stream_info_list_free (streams);
+ gst_caps_unref (caps);
return n_streams != 0;
} else {