mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-08 08:15:32 +00:00
gstreamer: childproxy: Include child property name in error message when lookup fails
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1474>
This commit is contained in:
parent
96448e82a7
commit
e46927057b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ pub trait ChildProxyExtManual: sealed::Sealed + IsA<ChildProxy> + 'static {
|
||||||
if ret {
|
if ret {
|
||||||
Ok((from_glib_full(target), from_glib_none(pspec)))
|
Ok((from_glib_full(target), from_glib_none(pspec)))
|
||||||
} else {
|
} else {
|
||||||
Err(glib::bool_error!("Failed to find child property"))
|
Err(glib::bool_error!("Failed to find child property '{name}'"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue