video: Derive Copy for VideoAlignment

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1670>
This commit is contained in:
Sebastian Dröge 2025-03-24 09:29:33 +02:00 committed by GStreamer Marge Bot
parent 9bf2cff872
commit 035447c631

View file

@ -21,7 +21,7 @@ pub static BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META: &glib::GStr = unsafe
pub static BUFFER_POOL_OPTION_VIDEO_META: &glib::GStr =
unsafe { glib::GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_VIDEO_META) };
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Copy)]
#[doc(alias = "GstVideoAlignment")]
pub struct VideoAlignment(pub(crate) ffi::GstVideoAlignment);