summaryrefslogtreecommitdiffstats
path: root/libvo/vo_aa.c
diff options
context:
space:
mode:
authorfolke <folke@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-17 14:53:11 +0000
committerfolke <folke@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-17 14:53:11 +0000
commit7fbab242624ec313eb00a4dc3f53b4ada3e5f512 (patch)
tree157711ec202ff4db225dd050ece0cc7b3fd718e5 /libvo/vo_aa.c
parent8692ac860f8908d0c6595b37f338823071f60ee8 (diff)
downloadmpv-7fbab242624ec313eb00a4dc3f53b4ada3e5f512.tar.bz2
mpv-7fbab242624ec313eb00a4dc3f53b4ada3e5f512.tar.xz
now linux/curses detection works
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1577 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_aa.c')
-rw-r--r--libvo/vo_aa.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c
index 5709f22376..a74522e9b5 100644
--- a/libvo/vo_aa.c
+++ b/libvo/vo_aa.c
@@ -216,7 +216,7 @@ init(uint32_t width, uint32_t height, uint32_t d_width,
char fname[12];
int fd, vt, major, minor;
struct stat sbuf;
- char * hidis;
+ char * hidis = NULL;
int i;
switch(format) {
@@ -255,8 +255,11 @@ init(uint32_t width, uint32_t height, uint32_t d_width,
sprintf (fname, "/dev/vcsa%i", vt);
fp = fopen (fname, "w+");
if (fp==NULL){
- fprintf(stderr,"VO: [aa] cannot open %s for writing, so we'll not use linux driver\n", fname);
+ fprintf(stderr,"VO: [aa] cannot open %s for writing,"
+ "so we'll not use linux driver\n", fname);
aa_recommendlowdisplay("linux");
+ aa_recommendhidisplay("curses");
+ aa_recommendhidisplay("X11");
}else fclose(fp);
}
c = aa_autoinit(&aa_defparams);