mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
sdp: use setter for the bandwidth
This commit is contained in:
parent
f7e879aa18
commit
b708c85535
1 changed files with 1 additions and 3 deletions
|
@ -1180,9 +1180,7 @@ gst_sdp_message_add_bandwidth (GstSDPMessage * msg, const gchar * bwtype,
|
||||||
{
|
{
|
||||||
GstSDPBandwidth bw;
|
GstSDPBandwidth bw;
|
||||||
|
|
||||||
bw.bwtype = g_strdup (bwtype);
|
gst_sdp_bandwidth_set (&bw, bwtype, bandwidth);
|
||||||
bw.bandwidth = bandwidth;
|
|
||||||
|
|
||||||
return gst_sdp_message_insert_bandwidth (msg, -1, &bw);
|
return gst_sdp_message_insert_bandwidth (msg, -1, &bw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue