diff --git a/gstreamer/src/log.rs b/gstreamer/src/log.rs index 1ccf3ef0e..ff1b9dd6a 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 {