dbpp check removed *AGAIN*

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@397 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-04-13 23:37:40 +00:00
parent 9953c4838b
commit 3401cad81a
1 changed files with 6 additions and 6 deletions

View File

@ -863,13 +863,13 @@ printf("Found video codec: [%s] drv:%d (%s)\n",sh_video->codec->name,sh_video->c
for(i=0;i<CODECS_MAX_OUTFMT;i++){
out_fmt=sh_video->codec->outfmt[i];
if(vo_dbpp){
if( ((out_fmt & IMGFMT_BGR_MASK) == IMGFMT_BGR) && ((out_fmt & 0xff) == vo_dbpp) || (out_fmt & IMGFMT_BGR_MASK) != IMGFMT_BGR){
if(video_out->query_format(out_fmt)) break;
}
}else{
// if(vo_dbpp){
// if( ((out_fmt & IMGFMT_BGR_MASK) == IMGFMT_BGR) && ((out_fmt & 0xff) == vo_dbpp) || (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");