Commit 6970145b authored by Laurent Aimar's avatar Laurent Aimar

Workaround for #3526 (h264 and direct rendering).

The bug is not specific to win32 (x11 has it too). I have to hardcode the
value for vlc 1.1 but will try to do something cleaner for vlc master.
parent df8728dd
......@@ -153,7 +153,7 @@
/* Video heap size - remember that a decompressed picture is big
* (~1 Mbyte) before using huge values */
#define VOUT_MAX_PICTURES 20
#define VOUT_MAX_PICTURES 25
/*
* Time settings
......
......@@ -109,10 +109,9 @@ static void DisplayTitleOnOSD( vout_thread_t *p_vout );
/* Minimum number of direct pictures the video output will accept without
* creating additional pictures in system memory */
#ifdef OPTIMIZE_MEMORY
# define VOUT_MIN_DIRECT_PICTURES (VOUT_MAX_PICTURES/2)
#else
# define VOUT_MIN_DIRECT_PICTURES (3*VOUT_MAX_PICTURES/4)
#define VOUT_MIN_DIRECT_PICTURES 23
#if VOUT_MIN_DIRECT_PICTURES > VOUT_MAX_PICTURES
# error "VOUT_MAX_PICTURES is incomatible with VOUT_MIN_DIRECT_PICTURES"
#endif
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment