add formats to base class, not the actual videofilter class
authorDavid Schleef <ds@schleef.org>
Wed, 2 Jul 2003 08:10:35 +0000 (08:10 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 2 Jul 2003 08:10:35 +0000 (08:10 +0000)
Original commit message from CVS:
add formats to base class, not the actual videofilter class

gst/videofilter/gstvideobalance.c
gst/videofilter/gstvideoflip.c
gst/videofilter/gstvideotemplate.c

index c74d14e..136015f 100644 (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);
   }
 }
 
index f10040e..36cd5c0 100644 (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);
   }
 }
 
index 32ae8ba..90c9750 100644 (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);
   }
 }