summaryrefslogtreecommitdiffstats
path: root/gst/effectv/gstaging.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv/gstaging.c')
-rw-r--r--gst/effectv/gstaging.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gst/effectv/gstaging.c b/gst/effectv/gstaging.c
index 829fa3f0..4fe1d776 100644
--- a/gst/effectv/gstaging.c
+++ b/gst/effectv/gstaging.c
@@ -138,28 +138,6 @@ gst_agingtv_set_caps (GstBaseTransform * btrans, GstCaps * incaps,
return ret;
}
-static gboolean
-gst_agingtv_get_unit_size (GstBaseTransform * btrans, GstCaps * caps,
- guint * size)
-{
- GstAgingTV *filter = GST_AGINGTV (btrans);
- GstStructure *structure;
- gboolean ret = FALSE;
- gint width, height;
-
- structure = gst_caps_get_structure (caps, 0);
-
- if (gst_structure_get_int (structure, "width", &width) &&
- gst_structure_get_int (structure, "height", &height)) {
- *size = width * height * 32 / 8;
- ret = TRUE;
- GST_DEBUG_OBJECT (filter, "our frame size is %d bytes (%dx%d)", *size,
- width, height);
- }
-
- return ret;
-}
-
static inline guint
fastrand (void)
{
@@ -465,7 +443,6 @@ gst_agingtv_class_init (GstAgingTVClass * klass)
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE));
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_agingtv_set_caps);
- trans_class->get_unit_size = GST_DEBUG_FUNCPTR (gst_agingtv_get_unit_size);
trans_class->transform = GST_DEBUG_FUNCPTR (gst_agingtv_transform);
trans_class->start = GST_DEBUG_FUNCPTR (gst_agingtv_start);
}