GstVa.VaDisplayDrm

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GstVa.VaDisplay GstVa.VaDisplay Gst.Object->GstVa.VaDisplay GstVa.VaDisplayDrm GstVa.VaDisplayDrm GstVa.VaDisplay->GstVa.VaDisplayDrm

Subclasses:

None

Methods

Inherited:

GstVa.VaDisplay (4), Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_from_path (path)

Virtual Methods

Inherited:

GstVa.VaDisplay (1), Gst.Object (1), GObject.Object (7)

Properties

Inherited:

GstVa.VaDisplay (2), Gst.Object (2)

Name

Type

Flags

Short Description

path

str

r/w/co

The path of DRM device

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Class Details

class GstVa.VaDisplayDrm(**kwargs)
Bases:

GstVa.VaDisplay

Abstract:

No

Structure:

GstVa.VaDisplayDrmClass

This is a GstVa.VaDisplay subclass to instantiate with DRM devices.

New in version 1.20.

classmethod new_from_path(path)
Parameters:

path (str) – the path to the DRM device

Returns:

a newly allocated GstVa.VaDisplay if the specified DRM render device could be opened and initialized; otherwise None is returned.

Return type:

GstVa.VaDisplay

Creates a new GstVa.VaDisplay from a DRM device . It will try to open and operate the device in path.

New in version 1.20.

Property Details

GstVa.VaDisplayDrm.props.path
Name:

path

Type:

str

Default Value:

'/dev/dri/renderD128'

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The path of DRM device