mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
dtlsenc: Don't warn on GST_FLOW_FLUSHING or GST_FLOW_EOS
Only warn if pushing a buffer returns an actual error to not pollute logs with confusing warnings.
This commit is contained in:
parent
0dc783d719
commit
e59962850a
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue