[vlc-devel] video filters and frame display
Sébastien Escudier
sebastien-devel at celeos.eu
Thu Oct 8 17:48:40 CEST 2009
Quoting Laurent Aimar <fenrir at via.ecp.fr>:
> > Is there a way to display pictures only when frames are decoded ? and as a
> > consequence it would apply filters only once per frame ?
> Not with the current code and vout/spu architecture.
Ok, thanks.
I found a way to do what I want with a hack in video_output.c (see at the end of
the mail).
VLC displays frames at a minimum rate of about 5 frames per second, because of
the hardcoded "4" value.
It may be interesting to make this configurable. But it's just a thought, I
don't mind having this hack for my tests.
@@ -1100,7 +1100,7 @@ static void* RunThread( void *p_this )
{
/* We are asked to repeat the previous picture, but we first
* wait for a couple of idle loops */
- if( i_idle_loops < 4 )
+ if( 1 || i_idle_loops < 4 )
{
p_picture = NULL;
display_date = 0;
More information about the vlc-devel
mailing list