diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-05-28 17:37:44 -0400 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-29 10:39:09 +0200 |
commit | f6be4da21df895dccac5f28d17c18da159a087dc (patch) | |
tree | b04428c220c2d724ec23efd50a051bb3eb447406 /gst/rtpmanager | |
parent | 71fe0d7bd3b0704a679e511db2f080cd75864e09 (diff) | |
download | gst-plugins-bad-f6be4da21df895dccac5f28d17c18da159a087dc.tar.gz gst-plugins-bad-f6be4da21df895dccac5f28d17c18da159a087dc.tar.bz2 gst-plugins-bad-f6be4da21df895dccac5f28d17c18da159a087dc.zip |
rtpbin: Transform the right session sdes message
Fixes #584165
Diffstat (limited to 'gst/rtpmanager')
-rw-r--r-- | gst/rtpmanager/gstrtpbin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 19de4f1b..482cf017 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -1758,7 +1758,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message) const GstStructure *s = gst_message_get_structure (message); /* we change the structure name and add the session ID to it */ - if (gst_structure_has_name (s, "GstRTPSessionSDES")) { + if (gst_structure_has_name (s, "application/x-rtp-source-sdes")) { GSList *walk; /* find the session, the message source has it */ @@ -1771,8 +1771,6 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message) message = gst_message_make_writable (message); s = gst_message_get_structure (message); - gst_structure_set_name ((GstStructure *) s, "GstRTPBinSDES"); - gst_structure_set ((GstStructure *) s, "session", G_TYPE_UINT, sess->id, NULL); break; |