changeset 2872:a70c0054e5fe

minor lacks fixing
author nick
date Tue, 13 Nov 2001 17:46:16 +0000
parents ac3cd4680838
children 8c747f29ce8f
files libvo/vo_vesa.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Tue Nov 13 17:44:38 2001 +0000
+++ b/libvo/vo_vesa.c	Tue Nov 13 17:46:16 2001 +0000
@@ -402,6 +402,7 @@
   uint32_t retval;
     if(verbose > 2)
         printf("vo_vesa: query_format was called: %x (%s)\n",format,vo_format_name(format));
+    if(lvo_name) return vlvo_query_info(format);
 	switch(format)
 	{
 		case IMGFMT_YV12:
@@ -681,7 +682,7 @@
 		if(sd_flags & SUBDEV_NODGA) video_mode_info.PhysBasePtr = 0;
 		if( vesa_zoom || fs_mode )
 		{
-		  if( format==IMGFMT_YV12 )
+		  if( format==IMGFMT_YV12 || lvo_name )
 		  {
 		      /* software scale */
 		      if(vesa_zoom > 1)