MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / check_error_queue

Method check_error_queue

scenedetect/output/image.py:219–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 error_queue = queue.Queue(2) # Queue size must be the same as the # of worker threads!
218
219 def check_error_queue():
220 try:
221 return error_queue.get(block=False)
222 except queue.Empty:
223 pass
224 return None
225
226 def launch_thread(callable, *args, **kwargs):
227 def capture_errors(callable, *args, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected