summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/sdp/gstsdpdemux.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b7ef1028..f8fce444 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index f73ed4c0..b0de0d20 100644
--- a/gst/sdp/gstsdpdemux.c
+++ b/gst/sdp/gstsdpdemux.c
@@ -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;