videorate: Remove dead code
authorSebastian Dröge <sebastian@centricular.com>
Sun, 3 Apr 2016 08:38:28 +0000 (11:38 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 3 Apr 2016 08:38:28 +0000 (11:38 +0300)
We never get into this code path at all if drop_only==TRUE.

gst/videorate/gstvideorate.c

index 11d9346c68c8aec8ada0074a43e80ed0b10b1180..c8024cd43a826f630ca6c500e8a0249e18caf5ce 100644 (file)
@@ -1227,9 +1227,6 @@ gst_video_rate_transform_ip (GstBaseTransform * trans, GstBuffer * buffer)
         }
       }
 
-      /* Do not produce any dups. We can exit loop now */
-      if (videorate->drop_only)
-        break;
       /* continue while the first one was the best, if they were equal avoid
        * going into an infinite loop */
     }