For decoding multiple video streams purpose, I created threads for each stream and start all decoding at the same time. However, some of them will be delayed to decode their 1st frame because the threads are blocked for seconds after calling MFXInit() and MFXVideoDECODE_Init(). The more threads and streaming created the issue happens easier.
Is there a way to avoid this blocking? Or, a way to set timeout (ex: 500ms)?
Thanks a lot!
(The previous post seems to be unreadable, so I post it again. Sorry for the duplicate post.)