ObjectExt::name has an invalid return value
GstObjectExt::name
returns a GString
, however the underlying function gst_object_get_name
documents the possibility of returning a NULL.
Right now the cases where the name
is actually NULL will cause a panic along the lines of thread 'main' panicked at 'assertion failed: !ptr.is_null()'
.
I don't have a good minimal test case for this, however, as I encountered this issue while interacting with objects through the logging infrastructure.
This seems like potentially a GIR issue, which I'm not super familiar with, hence an issue, rather than a PR.