videofilter: Add a default get_unit_size function
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 16 Jun 2009 17:38:17 +0000 (19:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 16 Jun 2009 17:38:17 +0000 (19:38 +0200)
commita64caea0bd53e4ba21c2da83abebc305ff7690f6
tree903d98a97add90d8bc3ce7f3e714918642e340f2
parent33837d420cabecacf99a8b671801daaffc066316
videofilter: Add a default get_unit_size function

This returns the correct values for all formats that are handled by
GstVideoFormat and makes all the custom get_unit_size functions in
many elements unnecessary.
gst-libs/gst/video/gstvideofilter.c