mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
rtspsrc: Don't unref caps we don't own
This commit is contained in:
parent
297d808acc
commit
b4aaa11f97
1 changed files with 0 additions and 3 deletions
|
@ -4600,7 +4600,6 @@ gst_rtspsrc_handle_data (GstRTSPSrc * src, GstRTSPMessage * message)
|
||||||
gst_event_new_caps (caps));
|
gst_event_new_caps (caps));
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
|
||||||
caps = gst_caps_new_empty_simple ("application/x-rtcp");
|
caps = gst_caps_new_empty_simple ("application/x-rtcp");
|
||||||
|
|
||||||
if (ostream->udpsrc[1]) {
|
if (ostream->udpsrc[1]) {
|
||||||
|
@ -4615,8 +4614,6 @@ gst_rtspsrc_handle_data (GstRTSPSrc * src, GstRTSPMessage * message)
|
||||||
gst_event_new_caps (caps));
|
gst_event_new_caps (caps));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Push a SEGMENT event if we don't have one pending, if we have one
|
/* Push a SEGMENT event if we don't have one pending, if we have one
|
||||||
|
|
Loading…
Reference in a new issue