I have a test which opens three h264 files on disk (each of different frame size & frame count) and decodes them simultaneously using three instances of the decoder. The three movies are looped infinitely and after a few hours at least one of the movies stop decoding and I notice while debugging that the problem movie is forever failing to acquire an output surface from because m_OutputSurfacesPool is empty.
Any advice is welcome.