diff options
-rw-r--r-- | gst/videofilter/gstvideobalance.c | 3 | ||||
-rw-r--r-- | gst/videofilter/gstvideoflip.c | 3 | ||||
-rw-r--r-- | gst/videofilter/gstvideotemplate.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c index c74d14ec..136015fb 100644 --- a/gst/videofilter/gstvideobalance.c +++ b/gst/videofilter/gstvideobalance.c @@ -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); } } diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c index f10040e9..36cd5c08 100644 --- a/gst/videofilter/gstvideoflip.c +++ b/gst/videofilter/gstvideoflip.c @@ -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); } } diff --git a/gst/videofilter/gstvideotemplate.c b/gst/videofilter/gstvideotemplate.c index 32ae8bac..90c9750c 100644 --- a/gst/videofilter/gstvideotemplate.c +++ b/gst/videofilter/gstvideotemplate.c @@ -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); } } |