changeset 5483:d2fbd113008e

global var for option -slices
author arpi
date Thu, 04 Apr 2002 00:00:23 +0000
parents cd97c8313300
children e133bea1ab30
files libmpcodecs/vd.c libmpcodecs/vd.h
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd.c	Wed Apr 03 23:59:54 2002 +0000
+++ b/libmpcodecs/vd.c	Thu Apr 04 00:00:23 2002 +0000
@@ -108,6 +108,7 @@
 int screen_size_xy=0;
 float movie_aspect=-1.0;
 int vo_flags=0;
+int vd_use_slices=1;
 
 static vo_tune_info_t vtune;
 
--- a/libmpcodecs/vd.h	Wed Apr 03 23:59:54 2002 +0000
+++ b/libmpcodecs/vd.h	Thu Apr 04 00:00:23 2002 +0000
@@ -15,6 +15,8 @@
 // NULL terminated array of all drivers
 extern vd_functions_t* mpcodecs_vd_drivers[];
 
+extern int vd_use_slices;
+
 #define VDCTRL_QUERY_FORMAT 3 /* test for availabilty of a format */
 #define VDCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */
 #define VDCTRL_SET_PP_LEVEL 5 /* set postprocessing level */