gstreamer: Fix typo in macro

This commit is contained in:
Sebastian Dröge 2023-01-16 11:30:08 +02:00
parent 64abf69987
commit 2a11b9d2cf

View file

@ -116,7 +116,7 @@ macro_rules! plugin_define(
let cause = err.downcast_ref::<&str>().copied()
.or_else(|| err.downcast_ref::<String>().map(|s| s.as_str()));
if let Some(cause) = cause {
$crate::error!($crate::PLUGIN_LOADING, "Failed to initialize plugin due to panic: {}", cause);
$crate::error!($crate::CAT_PLUGIN_LOADING, "Failed to initialize plugin due to panic: {}", cause);
} else {
$crate::error!(cat, "Failed to initialize plugin due to panic");
}