diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/sdp/gstsdpdemux.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |