Interface

GstVideo-1.0GstVideoVideoOverlayNamespace

interface VideoOverlayNamespace {
    $gtype: GType<GstVideo.VideoOverlay>;
    prototype: GstVideo.VideoOverlay;
    install_properties(
        oclass: typeof GObject.Object,
        last_prop_id: number,
    ): void;
    install_properties(...args: never[]): any;
    set_property(
        object: GObject.Object,
        last_prop_id: number,
        property_id: number,
        value: any,
    ): boolean;
}
Index

Properties

Methods

  • This helper shall be used by classes implementing the GstVideo.VideoOverlay interface that want the render rectangle to be controllable using properties. This helper will install "render-rectangle" property into the class.

    Parameters

    • oclass: typeof GObject.Object

      The class on which the properties will be installed

    • last_prop_id: number

      The first free property ID to use

    Returns void

  • Parameters

    • ...args: never[]

    Returns any

  • This helper shall be used by classes implementing the GstVideo.VideoOverlay interface that want the render rectangle to be controllable using properties. This helper will parse and set the render rectangle calling gst_video_overlay_set_render_rectangle().

    Parameters

    • object: GObject.Object

      The instance on which the property is set

    • last_prop_id: number

      The highest property ID.

    • property_id: number

      The property ID

    • value: any

      The GObject.Value to be set

    Returns boolean