From c07abf04f0be36dc7bc32b5c17dc2e15c6506666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 13 Jun 2024 14:35:04 +0300 Subject: [PATCH] rtp: av1depay: Also log warnings on errors Part-of: --- net/rtp/src/av1/common/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/rtp/src/av1/common/error.rs b/net/rtp/src/av1/common/error.rs index 3867bb076..54c5193fe 100644 --- a/net/rtp/src/av1/common/error.rs +++ b/net/rtp/src/av1/common/error.rs @@ -10,12 +10,14 @@ macro_rules! err_flow { ($imp:ident, read, $msg:literal) => { |err| { + gst::warning!(CAT, imp: $imp, $msg, err); gst::element_imp_warning!($imp, gst::ResourceError::Read, [$msg, err]); gst::FlowError::Error } }; ($imp:ident, write, $msg:literal) => { |err| { + gst::warning!(CAT, imp: $imp, $msg, err); gst::element_imp_warning!($imp, gst::ResourceError::Write, [$msg, err]); gst::FlowError::Error }