Added proper #include's for libvo2

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2898 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch 2001-11-14 11:16:45 +00:00
parent ff9243418c
commit 48d15985bf
7 changed files with 29 additions and 7 deletions

View File

@ -18,7 +18,11 @@
// for mmioFOURCC:
#include "wine/avifmt.h"
#ifdef USE_LIBVO2
#include "libvo2/img_format.h"
#else
#include "libvo/img_format.h"
#endif
#include "codec-cfg.h"
#define PRINT_LINENUM printf(" at line %d\n", line_num)

7
configure vendored
View File

@ -2522,12 +2522,12 @@ else
fi
if test "$_vo2" = yes ; then
_vodef='#define USE_LIBVO2'
_vodef='-DUSE_LIBVO2'
_volib='-Llibvo2 -lvo2'
_voinc='-Ilibvo2'
_vodir='libvo2'
else
_vodef='#undef USE_LIBVO2'
_vodef=''
_volib='-Llibvo -lvo'
_voinc='-Ilibvo'
_vodir='libvo'
@ -2582,7 +2582,7 @@ prefix = $_prefix
AR=ar
CC=$_cc
# OPTFLAGS=-O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS=$CFLAGS
OPTFLAGS=$CFLAGS $_vodef
EXTRA_INC=$_extraincdir $_voinc $_gtkinc
WIN32_PATH=-DWIN32_PATH=\\"$_win32libdir\\"
VO_INC=$_voinc
@ -2650,7 +2650,6 @@ cat > $CCONF << EOF
#define USE_OSD
#define USE_SUB
$_vodef
$_debugdef

View File

@ -24,7 +24,11 @@
#include "dll_init.h"
#ifdef USE_LIBVO2
#include "libvo2/img_format.h"
#else
#include "libvo/img_format.h"
#endif
#include "linux/shmem.h"
extern int divx_quality;

View File

@ -8,9 +8,14 @@
#include <stdio.h>
#ifdef USE_LIBVO2
#include "libvo2/libvo2.h"
#include "libvo2/sub.h"
#else
#include "libvo/video_out.h"
#include "subreader.h"
#include "libvo/sub.h"
#endif
#include "subreader.h"
static int current_sub=0;

View File

@ -20,7 +20,11 @@
#include "aviwrite.h"
#ifdef USE_LIBVO2
#include "libvo2/libvo2.h"
#else
#include "libvo/video_out.h"
#endif
#include "dec_audio.h"
#include "dec_video.h"

View File

@ -39,9 +39,11 @@ void find_sub(subtitle* subtitles,int key);
extern void* mDisplay; // Display* mDisplay;
#endif
//#ifdef USE_OSD
#ifdef USE_LIBVO2
#include "libvo2/sub.h"
#else
#include "libvo/sub.h"
//#endif
#endif
#include "libao2/audio_out.h"

View File

@ -27,7 +27,11 @@
#include "codec-cfg.h"
#include "stheader.h"
#ifdef USE_LIBVO2
#include "libvo2/img_format.h"
#else
#include "libvo/img_format.h"
#endif
#include "linux/timer.h"
#include "xacodec.h"