projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898441a
)
webrtc: fix type of max-retransmits, make it work
author
David Gunzinger
<david.gunzinger@smoca.ch>
Tue, 13 Aug 2019 10:10:54 +0000
(12:10 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 13 Aug 2019 15:47:13 +0000
(16:47 +0100)
ext/webrtc/gstwebrtcbin.c
patch
|
blob
|
history
diff --git
a/ext/webrtc/gstwebrtcbin.c
b/ext/webrtc/gstwebrtcbin.c
index
9236753
..
cb3504c
100644
(file)
--- a/
ext/webrtc/gstwebrtcbin.c
+++ b/
ext/webrtc/gstwebrtcbin.c
@@
-4121,7
+4121,7
@@
gst_webrtc_bin_create_data_channel (GstWebRTCBin * webrtc, const gchar * label,
&max_packet_lifetime))
max_packet_lifetime = -1;
if (!init_params
- || !gst_structure_get_
boolean
(init_params, "max-retransmits",
+ || !gst_structure_get_
int
(init_params, "max-retransmits",
&max_retransmits))
max_retransmits = -1;
/* both retransmits and lifetime cannot be set */