Original commit message from CVS:
add formats to base class, not the actual videofilter class
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);
}
}
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);
}
}
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);
}
}