[MPlayer-dev-eng] vf scale and yuv vs. rgb

Sascha Sommer saschasommer at freenet.de
Fri Apr 23 16:20:56 CEST 2004


Some people still have problems with mplayers performance on windows. Most
of the time
this is caused by video cards without yv12 support. In this case vf scale
will jump in and
convert to bgr32 instead of yuy2. The problem is caused by the fact that
scale goes through
its output format list and queries the vo for these video formats. In the
outfmt list rgb/bgr comes
before yuv so it will always select rgb/bgr before yuv when both have hw
support (VFCAP_CSP_SUPPORTED_BY_HW). What bould be the best solution to fix
this?
I propose to move the yuv formats before the bgr formats in the outfmt list.
Better ideas?
Michael?

Sascha




More information about the MPlayer-dev-eng mailing list