mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-22 06:58:13 +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/1485>
This commit is contained in:
parent
1ff88815df
commit
ce6741a157
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,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