summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-13 13:47:36 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-13 13:47:36 +0000
commitca4dc2a1b3ebfaa2ccf9446f1778cea845982a91 (patch)
treef5eece3d1b6eb3f6095da8203e81c0b75367303b /mplayer.c
parent17e5fab38f51744fa2817e92523f18281be34022 (diff)
downloadmpv-ca4dc2a1b3ebfaa2ccf9446f1778cea845982a91.tar.bz2
mpv-ca4dc2a1b3ebfaa2ccf9446f1778cea845982a91.tar.xz
-bpp changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@389 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mplayer.c b/mplayer.c
index 94a2bec9e7..fc87cca68a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -433,7 +433,7 @@ float font_factor=0.75;
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 @@ has_video=sh_video->codec->driver;
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");