MxGstBaseClass

Description

Declares the structure of the GStreamer plugin class, which is used to store the inheritance relationship and methods of the class.

Structure Definition

1
2
3
4
struct MxGstBaseClass {
    GstElementClass parentClass;    
    MxPluginBase* (* CreatePluginInstance)();
};

Parameters

Parameter

Description

parentClass

Stores the GstElementClass parentClass parent-class variable.

CreatePluginInstance

Function pointer, which is used to obtain the plugin instance.