Commit 87fac5d6 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

direct3d9: Don't silently disable hardware chroma conversion

parent b883bb4d
......@@ -1089,6 +1089,8 @@ static const d3d_format_t *Direct3DFindFormat(vout_display_t *vd, vlc_fourcc_t c
{
vout_display_sys_t *sys = vd->sys;
bool hardware_scale_ok = !(vd->fmt.i_visible_width & 1) && !(vd->fmt.i_visible_height & 1);
if( !hardware_scale_ok )
msg_Warn( vd, "Disabling hardware chroma conversion due to odd dimensions" );
for (unsigned pass = 0; pass < 2; pass++) {
const vlc_fourcc_t *list;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment