[vlc-devel] [PATCH] [WIP] mediacodec: implementation of MediaCodec direct rendering based on the work by Martin Storsjö.
Rémi Denis-Courmont
remi at remlab.net
Tue Nov 12 19:28:32 CET 2013
Le mardi 12 novembre 2013 10:26:50 Felix Abecassis a écrit :
> > This is not good. The decoder might be destroyed or even replaced while
> > the picture is still in flight.
>
> To solve this issue I would like to have a counter tracking the number of
> pictures that are currently in flight (filled by the decoder but not yet
> displayed) and wait on this counter in Close(). Do I have the guarantee
> that all pictures that are sent to the vout are actually displayed?
No, you don't. For one thing, there are no warranties that the monitor's frame
rate is higher than the video codec's.
> > > *); +static int Control(vout_display_t *, int, va_list);
> > > +
> > > +struct vout_display_sys_t
> > > +{
> > > + picture_pool_t *pool;
> > > + video_format_t fmt;
> >
> > Write-only?
>
> I'm sorry, I didn't understand. What do you mean?
This is only written to, is it not?
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list