projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef2a20
)
webrtc: change dead code to an assert
author
Matthew Waters
<matthew@centricular.com>
Thu, 8 Feb 2018 04:47:33 +0000
(15:47 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Thu, 8 Feb 2018 04:47:33 +0000
(15:47 +1100)
CID #1429140
ext/webrtc/gstwebrtcbin.c
patch
|
blob
|
history
diff --git
a/ext/webrtc/gstwebrtcbin.c
b/ext/webrtc/gstwebrtcbin.c
index
453fb26
..
5c08e10
100644
(file)
--- a/
ext/webrtc/gstwebrtcbin.c
+++ b/
ext/webrtc/gstwebrtcbin.c
@@
-1613,8
+1613,7
@@
_create_answer_task (GstWebRTCBin * webrtc, const GstStructure * options)
if (rtp_trans) {
answer_dir = rtp_trans->direction;
- if (!answer_caps)
- goto rejected;
+ g_assert (answer_caps != NULL);
} else {
/* if no transceiver, then we only receive that stream and respond with
* the exact same caps */