mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-28 01:58:19 +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>
|
2008-04-22 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -766,6 +766,8 @@ request_pt_map (GstElement * sess, guint session, guint pt, GstSDPDemux * demux)
|
||||||
goto unknown_stream;
|
goto unknown_stream;
|
||||||
|
|
||||||
caps = stream->caps;
|
caps = stream->caps;
|
||||||
|
if (caps)
|
||||||
|
gst_caps_ref (caps);
|
||||||
GST_SDP_STREAM_UNLOCK (demux);
|
GST_SDP_STREAM_UNLOCK (demux);
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
|
|
Loading…
Reference in a new issue