CVS: main mplayer.c,1.52,1.53
Update of /cvsroot/mplayer/main In directory usw-pr-cvs1:/tmp/cvs-serv20244 Modified Files: mplayer.c Log Message: - changed -bpp again: if vo driver obeys depth value set by user, then the codec should do the same ... Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** mplayer.c 2001/04/13 13:47:36 1.52 --- mplayer.c 2001/04/13 17:50:13 1.53 *************** *** 435,438 **** --- 435,439 ---- float sub_fps=0; //int user_bpp=0; + extern int vo_dbpp; #include "cfg-mplayer.h" *************** *** 863,873 **** 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(video_out->query_format(out_fmt)) break; ! // } } if(i>=CODECS_MAX_OUTFMT){ --- 864,874 ---- 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(video_out->query_format(out_fmt)) break; ! } } if(i>=CODECS_MAX_OUTFMT){ _______________________________________________ Mplayer-cvslog mailing list Mplayer-cvslog@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
participants (1)
-
Andreas Ackermann