[Mplayer-cvslog] CVS: main/libvo vo_aa.c,1.11,1.12
Folke Ashberg
folke at mplayer.dev.hu
Fri Aug 17 16:53:25 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv7353/libvo
Modified Files:
vo_aa.c
Log Message:
now linux/curses detection works
Index: vo_aa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_aa.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- vo_aa.c 17 Aug 2001 14:31:03 -0000 1.11
+++ vo_aa.c 17 Aug 2001 14:53:11 -0000 1.12
@@ -216,7 +216,7 @@
char fname[12];
int fd, vt, major, minor;
struct stat sbuf;
- char * hidis;
+ char * hidis = NULL;
int i;
switch(format) {
@@ -255,8 +255,11 @@
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);
More information about the MPlayer-cvslog
mailing list