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

Original commit message from CVS:
* gst/sdp/gstsdpdemux.c: (request_pt_map):
Ref caps, see #528245.
This commit is contained in:
Wim Taymans 2008-04-22 08:18:05 +00:00
parent 2344f4bb0c
commit c64da4164b
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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:

View file

@ -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;