summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/rtpsource.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtpmanager/rtpsource.c')
-rw-r--r--gst/rtpmanager/rtpsource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c
index 36def461..4c351a1a 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -197,6 +197,8 @@ rtp_source_finalize (GObject * object)
g_free (src->bye_reason);
+ gst_caps_replace (&src->caps, NULL);
+
G_OBJECT_CLASS (rtp_source_parent_class)->finalize (object);
}