basescope: remove some comments
authorStefan Kost <ensonic@users.sf.net>
Fri, 27 May 2011 19:53:10 +0000 (22:53 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 6 Jun 2011 12:25:13 +0000 (15:25 +0300)
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

index 3e134ee..cd9a945 100644 (file)
@@ -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)) {