From 46e3bc48af28d59fedfce854d0662e8b9ba47a06 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 27 May 2011 22:53:10 +0300 Subject: [PATCH] basescope: remove some comments Those comments where pointing to example calls that we do in the subclass. https://bugzilla.gnome.org/show_bug.cgi?id=651536 --- gst/scopes/gstbasescope.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gst/scopes/gstbasescope.c b/gst/scopes/gstbasescope.c index 3e134eefd9..cd9a9458d0 100644 --- a/gst/scopes/gstbasescope.c +++ b/gst/scopes/gstbasescope.c @@ -279,9 +279,6 @@ gst_base_scope_src_setcaps (GstPad * pad, GstCaps * caps) scope->spf = gst_util_uint64_scale_int (scope->rate, scope->fps_d, scope->fps_n); - /* - synaesthesia_resize (scope->si, scope->width, scope->height); - */ if (klass->setup) res = klass->setup (scope); @@ -369,11 +366,6 @@ gst_base_scope_chain (GstPad * pad, GstBuffer * buffer) (guint8 *) gst_adapter_peek (scope->adapter, bytesperread); GST_BUFFER_SIZE (inbuf) = bytesperread; - /* - guchar * out_frame = (guchar *) - scope_update (scope->si, scope->datain); - memcpy (GST_BUFFER_DATA (outbuf), out_frame, GST_BUFFER_SIZE (outbuf)); - */ /* call class->render() vmethod */ if (render) if (!render (scope, inbuf, outbuf)) { -- 2.34.1