mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 09:08:14 +00:00
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:
parent
2344f4bb0c
commit
c64da4164b
2 changed files with 7 additions and 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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue