          while True:
              self.check_thread_error()
              if self.disk_io.completion_event.is_set():
                  break
              sleep(1)
          pool.join()
  
          logger.debug("Putting EOF")
          save_queue.put("EOF")
          logger.debug("Converted images")
 
</s> remove     def process(self, in_queue, out_queue):
 </s> add     def process(self, in_queue, out_queue, completion_queue=None):
          while True:
              self.check_thread_error()
              if self.disk_io.completion_event.is_set():
                  break

          pool.join()
  
          logger.debug("Putting EOF")
          save_queue.put("EOF")
          logger.debug("Converted images")
keep keep keep keep replace keep keep keep keep keep
 bugfix: Stop convert hanging at the last few frames on some input videos 
scripts/convert.py