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 11d9346..c8024cd 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 */
     }