  import logging
  import re
  import os
  import sys
  from time import sleep
  from threading import Event
  
  import numpy as np
  from tqdm import tqdm
  
 
</s> remove from lib.queue_manager import queue_manager
 </s> add from lib.queue_manager import queue_manager, QueueEmpty </s> remove     def process(self, in_queue, out_queue):
 </s> add     def process(self, in_queue, out_queue, completion_queue=None): </s> remove         logger.debug("Starting convert process. (in_queue: %s, out_queue: %s)",
                     in_queue, out_queue)
 </s> add         logger.debug("Starting convert process. (in_queue: %s, out_queue: %s, completion_queue: "
                     "%s)", in_queue, out_queue, completion_queue)
  import logging
  import re
  import os
  import sys

  from threading import Event
  
  import numpy as np
  from tqdm import tqdm
  
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