• Jean-Paul Saman's avatar
    Implemented decoder_GetPictureCount() and vout_GetPictureCount() · 91f15717
    Jean-Paul Saman authored
    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.
    91f15717
decoder.c 74.4 KB