CVS: main/libvo vosub_vidix.c,1.51,1.52
Update of /cvsroot/mplayer/main/libvo In directory mail:/var/tmp.root/cvs-serv12193 Modified Files: vosub_vidix.c Log Message: should solve -vo vesa:vidix problem 'vosub_vidix: video server has unsupported color depth by vidix (0)' - patch by Emiel Neggers <emiel@neggers.net> Index: vosub_vidix.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vosub_vidix.c,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- vosub_vidix.c 25 Jul 2002 22:54:03 -0000 1.51 +++ vosub_vidix.c 16 Aug 2002 22:25:45 -0000 1.52 @@ -460,6 +460,13 @@ ,src_width,src_height,x_org,y_org,dst_width,dst_height ,vo_format_name(format),dest_bpp,vid_w,vid_h); + if(vidix_query_fourcc(format) == 0) + { + printf("vosub_vidix: unsupported fourcc for this vidix driver: %x (%s)\n", + format,vo_format_name(format)); + return -1; + } + if(((vidix_cap.maxwidth != -1) && (vid_w > vidix_cap.maxwidth)) || ((vidix_cap.minwidth != -1) && (vid_w < vidix_cap.minwidth)) || ((vidix_cap.maxheight != -1) && (vid_h > vidix_cap.maxheight)) ||
participants (1)
-
Arpi of Ize