add formats to base class, not the actual videofilter class

Original commit message from CVS:
add formats to base class, not the actual videofilter class
This commit is contained in:
David Schleef 2003-07-02 08:10:35 +00:00
parent 96e5a724f8
commit 2b054f0f89
3 changed files with 6 additions and 3 deletions

View file

@ -124,7 +124,8 @@ gst_videobalance_class_init (GstVideobalanceClass *klass)
gstvideofilter_class->setup = gst_videobalance_setup;
for(i=0;i<G_N_ELEMENTS(gst_videobalance_formats);i++){
gst_videofilter_class_add_format(parent_class, gst_videobalance_formats + i);
gst_videofilter_class_add_format(gstvideofilter_class,
gst_videobalance_formats + i);
}
}

View file

@ -146,7 +146,8 @@ gst_videoflip_class_init (GstVideoflipClass *klass)
gstvideofilter_class->setup = gst_videoflip_setup;
for(i=0;i<G_N_ELEMENTS(gst_videoflip_formats);i++){
gst_videofilter_class_add_format(parent_class, gst_videoflip_formats + i);
gst_videofilter_class_add_format(gstvideofilter_class,
gst_videoflip_formats + i);
}
}

View file

@ -112,7 +112,8 @@ gst_videotemplate_class_init (GstVideotemplateClass *klass)
gstvideofilter_class->setup = gst_videotemplate_setup;
for(i=0;i<G_N_ELEMENTS(gst_videotemplate_formats);i++){
gst_videofilter_class_add_format(parent_class, gst_videotemplate_formats + i);
gst_videofilter_class_add_format(gstvideofilter_class,
gst_videotemplate_formats + i);
}
}