Implemented decoder_GetPictureCount() and vout_GetPictureCount()
The idea is to get the number of pictures needed according to core for direct rendering. So that the decoder knows how many surfaces it needs to allocated. However the vout is instantiated, after the codec is. Luckily the number needed is rather static, so if there is no vout yet, then return the static value.
Showing
Please register or sign in to comment