mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
gstreamer: meta: Pass an empty tag array instead of NULL to gst_meta_register_custom()
NULL gives a critical warning but an empty, NULL-terminated array gives the desired result. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/516 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1483>
This commit is contained in:
parent
0f5c0e935c
commit
658b8c2231
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ impl CustomMeta {
|
|||
unsafe {
|
||||
ffi::gst_meta_register_custom(
|
||||
name.to_glib_none().0,
|
||||
ptr::null_mut(),
|
||||
[ptr::null()].as_mut_ptr(),
|
||||
None,
|
||||
ptr::null_mut(),
|
||||
None,
|
||||
|
|
Loading…
Reference in a new issue