[vlc-devel] [PATCH 0/3] Android MediaCodec direct rendering

Rémi Denis-Courmont remi at remlab.net
Fri Nov 15 17:49:20 CET 2013


On Fri, 15 Nov 2013 15:47:18 +0100, Felix Abecassis
<felix.abecassis at gmail.com> wrote:
> (...) Since the
> pictures are not displayed, the output buffer are not released; as a
> result the decoder becomes blocked in the DecodeVideo function without
> being able to get either an available input or output buffer.

If the hardware (driver) does not provide enough picture for decoding,
then you are screwed, period. Depending on the codec (and profile), you
need a certain minimum number of concurrent pictures.

If however you are merely waiting for pictures to free up, then it might
just mean you are not keeping track of them correctly. Note that the video
output prepare and display callbacks bear little to no relevance to the
picture references. A single picture may be displayed more than once (for
instance when paused), or never (due to frame skip or preroll).

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list