From eda44c640e3257fb36a9ed2e48a4b2ad0411f6ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 3 Apr 2016 11:38:28 +0300 Subject: [PATCH] videorate: Remove dead code We never get into this code path at all if drop_only==TRUE. --- gst/videorate/gstvideorate.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c index 11d9346c68..c8024cd43a 100644 --- a/gst/videorate/gstvideorate.c +++ b/gst/videorate/gstvideorate.c @@ -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 */ }