rtp: basepay: Initialize class fields

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1693>
This commit is contained in:
Sebastian Dröge 2024-08-07 09:39:38 +03:00 committed by GStreamer Marge Bot
parent c554a5dc76
commit 914ffc8be9

View file

@ -1762,6 +1762,9 @@ impl ObjectSubclass for RtpBasePay2 {
class.src_query = |obj, query| obj.imp().src_query_default(query);
class.transform_meta =
|obj, in_buf, meta, out_buf| obj.imp().transform_meta_default(in_buf, meta, out_buf);
class.allowed_meta_tags = &[];
class.drop_header_buffers = false;
}
fn with_class(class: &Self::Class) -> Self {