]> git.sesse.net Git - vlc/commitdiff
Removed check on OPTIMIZE_MEMORY in installed headers.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 2 Nov 2008 16:50:14 +0000 (17:50 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 2 Nov 2008 16:51:22 +0000 (17:51 +0100)
include/vlc_config.h
src/video_output/vout_subpictures.c

index 269c6ce592647ae8fc801d9ab670daed6e80dc20..c61b52f850adafe2e43373a137d3e2c6482ccbad 100644 (file)
 
 /* Video heap size - remember that a decompressed picture is big
  * (~1 Mbyte) before using huge values */
-#ifdef OPTIMIZE_MEMORY
-#   define VOUT_MAX_PICTURES               8
-#else
-#   define VOUT_MAX_PICTURES              16
-#endif
+#define VOUT_MAX_PICTURES              16
 
 /* 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        6
-#else
-#   define VOUT_MIN_DIRECT_PICTURES        12
-#endif
-
-/* Number of simultaneous subpictures */
-#ifdef OPTIMIZE_MEMORY
-#   define VOUT_MAX_SUBPICTURES            8
-#else
-#   define VOUT_MAX_SUBPICTURES            16
-#endif
+#define VOUT_MIN_DIRECT_PICTURES        12
 
 /* Statistics are displayed every n loops (=~ pictures) */
 #define VOUT_STATS_NB_LOOPS             100
index 6a4d70d016ea1521b19dc290791d58314ecfd218..697bf7dd53e0b0f8fde1e38d218937a1e3b4e41f 100644 (file)
@@ -44,6 +44,9 @@
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
+/* Number of simultaneous subpictures */
+#define VOUT_MAX_SUBPICTURES (VOUT_MAX_PICTURES)
+
 #define VLC_FOURCC_YUVP VLC_FOURCC('Y','U','V','P')
 #define VLC_FOURCC_YUVA VLC_FOURCC('Y','U','V','A')
 #define VLC_FOURCC_RGBA VLC_FOURCC('R','G','B','A')