Commit c64da416 authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/sdp/gstsdpdemux.c: Ref caps, see #528245.

Original commit message from CVS:
* gst/sdp/gstsdpdemux.c: (request_pt_map):
Ref caps, see #528245.
parent 2344f4bb
2008-04-22 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/sdp/gstsdpdemux.c: (request_pt_map):
Ref caps, see #528245.
2008-04-22 Jan Schmidt <jan.schmidt@sun.com>
* configure.ac:
......
......@@ -766,6 +766,8 @@ request_pt_map (GstElement * sess, guint session, guint pt, GstSDPDemux * demux)
goto unknown_stream;
caps = stream->caps;
if (caps)
gst_caps_ref (caps);
GST_SDP_STREAM_UNLOCK (demux);
return caps;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment