slots and signals without ability to modify worker thread?
-
I'm working with a video codec library that processes a raw video file as a job. Each frame is processed within a thread (that I have no control over as the developer), and therefore I cannot simply display this frame when it is ready on the GUI since it is in another thread. Since I can't modify this thread, how can I update the GUI? Should I instantiate a (third) QThread, to work as an intermediary between the library's thread and main thread, and just pass the frame through? I don't feel like this is the neatest way to do this, but it's all I can think of. Thanks.
-
@Firedan1176 said in slots and signals without ability to modify worker thread?:
Each frame is processed within a thread
How do these threads provide the result of their processing? How does the API look like?