summaryrefslogtreecommitdiffstats
path: root/gst/frei0r
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-06-16 19:42:41 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-06-19 11:03:15 +0200
commitabffe58d43ff68071e139fd9316da37a8b8f26c5 (patch)
treeba6bd0d5a357266868558ae202d45d19ee9b22fa /gst/frei0r
parentab0a9e3694b3b0b43891dbe2c498fbed98daa747 (diff)
downloadgst-plugins-bad-abffe58d43ff68071e139fd9316da37a8b8f26c5.tar.gz
gst-plugins-bad-abffe58d43ff68071e139fd9316da37a8b8f26c5.tar.bz2
gst-plugins-bad-abffe58d43ff68071e139fd9316da37a8b8f26c5.zip
frei0r: Remove custom get_unit_size implementation
This is already handled by the default one from GstVideoFilter
Diffstat (limited to 'gst/frei0r')
-rw-r--r--gst/frei0r/gstfrei0rfilter.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gst/frei0r/gstfrei0rfilter.c b/gst/frei0r/gstfrei0rfilter.c
index 9b0279df..a7aa3808 100644
--- a/gst/frei0r/gstfrei0rfilter.c
+++ b/gst/frei0r/gstfrei0rfilter.c
@@ -36,20 +36,6 @@ typedef struct
} GstFrei0rFilterClassData;
static gboolean
-gst_frei0r_filter_get_unit_size (GstBaseTransform * trans, GstCaps * caps,
- guint * size)
-{
- GstVideoFormat fmt;
- gint width, height;
-
- if (!gst_video_format_parse_caps (caps, &fmt, &width, &height))
- return FALSE;
-
- *size = gst_video_format_get_size (fmt, width, height);
- return TRUE;
-}
-
-static gboolean
gst_frei0r_filter_set_caps (GstBaseTransform * trans, GstCaps * incaps,
GstCaps * outcaps)
{
@@ -199,8 +185,6 @@ gst_frei0r_filter_class_init (GstFrei0rFilterClass * klass,
templ = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, caps);
gst_element_class_add_pad_template (gstelement_class, templ);
- gsttrans_class->get_unit_size =
- GST_DEBUG_FUNCPTR (gst_frei0r_filter_get_unit_size);
gsttrans_class->set_caps = GST_DEBUG_FUNCPTR (gst_frei0r_filter_set_caps);
gsttrans_class->stop = GST_DEBUG_FUNCPTR (gst_frei0r_filter_stop);
gsttrans_class->transform = GST_DEBUG_FUNCPTR (gst_frei0r_filter_transform);