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:
0dc783d
)
dtlsenc: Don't warn on GST_FLOW_FLUSHING or GST_FLOW_EOS
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 30 Dec 2019 10:52:20 +0000
(12:52 +0200)
committer
Sebastian Dröge
<slomo@coaxion.net>
Mon, 30 Dec 2019 11:09:46 +0000
(11:09 +0000)
Only warn if pushing a buffer returns an actual error to not pollute
logs with confusing warnings.
ext/dtls/gstdtlsenc.c
patch
|
blob
|
history
diff --git
a/ext/dtls/gstdtlsenc.c
b/ext/dtls/gstdtlsenc.c
index
f992af0
..
42ea75c
100644
(file)
--- a/
ext/dtls/gstdtlsenc.c
+++ b/
ext/dtls/gstdtlsenc.c
@@
-461,7
+461,7
@@
src_task_loop (GstPad * pad)
if (check_connection_timeout)
gst_dtls_connection_check_timeout (self->connection);
- if (G_UNLIKELY (ret
!= GST_FLOW_OK
)) {
+ if (G_UNLIKELY (ret
== GST_FLOW_NOT_LINKED || ret < GST_FLOW_EOS
)) {
GST_WARNING_OBJECT (self, "failed to push buffer on src pad: %s",
gst_flow_get_name (ret));
}