diff mplayer.c @ 388:ccb5ebfaaeac

-bpp changes
author arpi_esp
date Fri, 13 Apr 2001 13:47:36 +0000
parents 3360c39a6bb7
children 15fb291915fa
line wrap: on
line diff
--- a/mplayer.c	Fri Apr 13 13:02:13 2001 +0000
+++ b/mplayer.c	Fri Apr 13 13:47:36 2001 +0000
@@ -433,7 +433,7 @@
 char *sub_name=NULL;
 float sub_delay=0;
 float sub_fps=0;
-int user_bpp=0;
+//int user_bpp=0;
 #include "cfg-mplayer.h"
 
   printf("%s",banner_text);
@@ -858,17 +858,17 @@
 
 printf("Found video codec: [%s] drv:%d (%s)\n",sh_video->codec->name,sh_video->codec->driver,sh_video->codec->info);
 
-if(user_bpp)printf("Trying user defined depth of %dbpp\n", user_bpp);
+//if(user_bpp)printf("Trying user defined depth of %dbpp\n", user_bpp);
 
 for(i=0;i<CODECS_MAX_OUTFMT;i++){
     out_fmt=sh_video->codec->outfmt[i];
-    if(user_bpp){
-        if( ((out_fmt & IMGFMT_BGR_MASK) == IMGFMT_BGR) && ((out_fmt & 0xff) == user_bpp) || (out_fmt & IMGFMT_BGR_MASK) != IMGFMT_BGR){
-	     if(video_out->query_format(out_fmt)) break;
-	}
-    }else{
+//    if(user_bpp){
+//        if( ((out_fmt & IMGFMT_BGR_MASK) == IMGFMT_BGR) && ((out_fmt & 0xff) == user_bpp) || (out_fmt & IMGFMT_BGR_MASK) != IMGFMT_BGR){
+//	     if(video_out->query_format(out_fmt)) break;
+//	}
+//    }else{
   	  if(video_out->query_format(out_fmt)) break;
-    }
+//    }
 }
 if(i>=CODECS_MAX_OUTFMT){
     printf("Sorry, selected video_out device is incompatible with this codec.\n");