mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +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/1484>
This commit is contained in:
parent
61c6e8177b
commit
95104ac844
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