Skip to content

gstreamer/log: Don't provide direct access to the logged object as glib::Object

Sebastian Dröge requested to merge slomo/gstreamer-rs:log-object into master

It might just be constructed or might be finalized currently and it's not safe to use any APIs on it.

Instead provide a small wrapper type that allows to get the underlying pointer and that implements the Display trait to print the name of the object.

Fixes #287 (closed)

Merge request reports