diff --git a/gstreamer/src/log.rs b/gstreamer/src/log.rs index 807f34ed4..0aa3f7612 100644 --- a/gstreamer/src/log.rs +++ b/gstreamer/src/log.rs @@ -52,6 +52,7 @@ impl DebugMessage { #[derive(PartialEq, Eq, Clone, Copy)] #[doc(alias = "GstDebugCategory")] +#[repr(transparent)] pub struct DebugCategory(Option>); impl DebugCategory {