Remove redundant check.
authorCarl Hetherington <cth@carlh.net>
Sat, 5 Dec 2020 18:51:51 +0000 (19:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 5 Dec 2020 18:51:51 +0000 (19:51 +0100)
src/lib/writer.cc

index 4915fe68dd21fe9f9639ddae4bca76673e700800..5198cfb319e6b1b148bdb51328d92c501d2c67e2 100644 (file)
@@ -387,10 +387,6 @@ try
                        LOG_TIMING (N_("writer-wake queue=%1"), _queue.size());
                }
 
-               if (_finish && _queue.empty()) {
-                       return;
-               }
-
                /* We stop here if we have been asked to finish, and if either the queue
                   is empty or we do not have a sequenced image at its head (if this is the
                   case we will never terminate as no new frames will be sent once