diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-03-05 09:56:23 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-03-05 09:56:37 +0100 |
commit | b4aaa11f9733ba1800f7e88e3de911404aee7b11 (patch) | |
tree | c196788984c641f5216d9ff80093b35801397f43 | |
parent | 297d808acce41d2f20b281a2acd642285b5ba01a (diff) |
rtspsrc: Don't unref caps we don't own
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 3 |
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 |