summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-03-05 09:56:23 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-03-05 09:56:37 +0100
commitb4aaa11f9733ba1800f7e88e3de911404aee7b11 (patch)
treec196788984c641f5216d9ff80093b35801397f43
parent297d808acce41d2f20b281a2acd642285b5ba01a (diff)
rtspsrc: Don't unref caps we don't own
-rw-r--r--gst/rtsp/gstrtspsrc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 0719b90cd..552bfde3c 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -4600,7 +4600,6 @@ gst_rtspsrc_handle_data (GstRTSPSrc * src, GstRTSPMessage * message)
gst_event_new_caps (caps));
}
- gst_caps_unref (caps);
caps = gst_caps_new_empty_simple ("application/x-rtcp");
if (ostream->udpsrc[1]) {
@@ -4615,8 +4614,6 @@ gst_rtspsrc_handle_data (GstRTSPSrc * src, GstRTSPMessage * message)
gst_event_new_caps (caps));
}
}
-
- gst_caps_unref (caps);
}
/* Push a SEGMENT event if we don't have one pending, if we have one