txlyre 6 mesi fa
parent
commit
866441c3f5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -356,7 +356,7 @@ if __name__ == "__main__":
     if args.source_type == "linuxvideo":
         q2 = queue.Queue()
 
-        threading.Thread(target=video2_sampler, args=(q, 12, args.source)).start()
+        threading.Thread(target=video2_sampler, args=(q, q2, args.source)).start()
         threading.Thread(target=video2_extractor, args=(q, q2)).start()
     else:
         threading.Thread(