mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +00:00
Make sure to override vfuncs of all parent classes correctly
This commit is contained in:
parent
8b7f0b40ea
commit
66366ce024
7 changed files with 8 additions and 0 deletions
|
@ -515,6 +515,7 @@ impl ObjectType for Aggregator {
|
|||
type InstanceStructType = ElementInstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut AggregatorClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
ElementClassExt::override_vfuncs(klass, token);
|
||||
AggregatorClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
|
|
@ -145,7 +145,9 @@ impl ObjectType for AggregatorPad {
|
|||
type InstanceStructType = InstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut AggregatorPadClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
PadClassExt::override_vfuncs(klass, token);
|
||||
GhostPadClassExt::override_vfuncs(klass, token);
|
||||
AggregatorPadClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
||||
|
|
|
@ -297,6 +297,7 @@ impl ObjectType for BaseSink {
|
|||
type InstanceStructType = ElementInstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut BaseSinkClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
ElementClassExt::override_vfuncs(klass, token);
|
||||
BaseSinkClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
|
|
@ -430,6 +430,7 @@ impl ObjectType for BaseTransform {
|
|||
type InstanceStructType = ElementInstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut BaseTransformClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
ElementClassExt::override_vfuncs(klass, token);
|
||||
BaseTransformClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
|
|
@ -151,6 +151,7 @@ impl ObjectType for Bin {
|
|||
type InstanceStructType = ElementInstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut BinClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
ElementClassExt::override_vfuncs(klass, token);
|
||||
BinClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
|
|
@ -81,6 +81,7 @@ impl ObjectType for GhostPad {
|
|||
type InstanceStructType = InstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut GhostPadClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
PadClassExt::override_vfuncs(klass, token);
|
||||
GhostPadClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
|
|
@ -118,6 +118,7 @@ impl ObjectType for Pad {
|
|||
type InstanceStructType = InstanceStruct<Self>;
|
||||
|
||||
fn class_init(token: &ClassInitToken, klass: &mut PadClass) {
|
||||
ObjectClassExt::override_vfuncs(klass, token);
|
||||
PadClassExt::override_vfuncs(klass, token);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue