mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
96e5a724f8
commit
2b054f0f89
3 changed files with 6 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue