2014-02-18, 15:37
(2014-02-18, 11:56)Koying Wrote: - I'm apparently loosing framebuffers when seeking, so I end up with "No framebuffers available" from the VPU
Maybe I missed some important fact but as I understood your code you are potentially calling VPU_DecOutFrameDisplayed from the render thread if the codec info buffer is released there. VPU_* functions are not thread safe and this could lead to undefined behaviour. This needs to be sorted out. I also think that the static member for the VPU handle is not the best choice. Just in case you want to play two or more streams this won't work anymore (e.g. future PIP extensions). And as you say, if the handle is reassigned the buffer won't be notified about this.