videorate: Remove useless assignement
authorEdward Hervey <bilboed@bilboed.com>
Mon, 30 Dec 2013 12:33:00 +0000 (13:33 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 30 Dec 2013 12:45:04 +0000 (13:45 +0100)
Was already set before

gst/videorate/gstvideorate.c

index baa6baf..3284738 100644 (file)
@@ -474,8 +474,6 @@ gst_video_rate_setcaps (GstBaseTransform * trans, GstCaps * in_caps,
   gboolean ret = TRUE;
   gint rate_numerator, rate_denominator;
 
-  videorate = GST_VIDEO_RATE (trans);
-
   GST_DEBUG_OBJECT (trans, "setcaps called in: %" GST_PTR_FORMAT
       " out: %" GST_PTR_FORMAT, in_caps, out_caps);