gstreamer-vulkan 0.25.2

Rust bindings for GStreamer Vulkan library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::VulkanSwapper;

use glib::prelude::*;

pub trait VulkanSwapperExtManual: IsA<VulkanSwapper> + 'static {
    #[doc(alias = "pixel-aspect-ratio")]
    fn is_force_aspect_ratio(&self) -> gst::Fraction {
        ObjectExt::property(self.as_ref(), "pixel-aspect-ratio")
    }

    #[doc(alias = "pixel-aspect-ratio")]
    fn set_force_aspect_ratio(&self, pixel_aspect_ratio: gst::Fraction) {
        ObjectExt::set_property(self.as_ref(), "pixel-aspect-ratio", pixel_aspect_ratio)
    }
}
impl<O: IsA<VulkanSwapper>> VulkanSwapperExtManual for O {}