projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ec8c96
)
rtspsrc: set SSRC on caps if known
author
Wim Taymans
<wtaymans@redhat.com>
Tue, 25 Mar 2014 09:23:00 +0000
(10:23 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Tue, 25 Mar 2014 09:23:00 +0000
(10:23 +0100)
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
5dd9a08
..
0cc4391
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-3536,6
+3536,9
@@
gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream,
s = gst_caps_get_structure (item->caps, 0);
gst_structure_set_name (s, media_type);
+ /* set ssrc if known */
+ if (transport->ssrc)
+ gst_structure_set (s, "ssrc", G_TYPE_UINT, transport->ssrc, NULL);
}
/* try to get and configure a manager, channelpad[0-1] will be configured with