diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-04-22 08:18:05 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-04-22 08:18:05 +0000 |
commit | c64da4164b4aceb2a5744162dcc60d5173a205c5 (patch) | |
tree | 4c26ddc124279e17c61f2c38a716c53ca90d779e | |
parent | 2344f4bb0ccd8674b85c09cacdd81f26516e28b7 (diff) | |
download | gst-plugins-bad-c64da4164b4aceb2a5744162dcc60d5173a205c5.tar.gz gst-plugins-bad-c64da4164b4aceb2a5744162dcc60d5173a205c5.tar.bz2 gst-plugins-bad-c64da4164b4aceb2a5744162dcc60d5173a205c5.zip |
gst/sdp/gstsdpdemux.c: Ref caps, see #528245.
Original commit message from CVS:
* gst/sdp/gstsdpdemux.c: (request_pt_map):
Ref caps, see #528245.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gst/sdp/gstsdpdemux.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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; |