wall.c: reverted previous commit, new proper fix

parent 861453b6
......@@ -368,7 +368,7 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
for( i_plane = 0 ; i_plane < p_pic->i_planes ; i_plane++ )
{
pi_left_skip[i_plane] +=
p_vout->p_sys->pp_vout[ i_col == p_vout->p_sys->i_col-1?i_vout-1:i_vout ].i_width
p_vout->p_sys->pp_vout[ i_vout ].i_width
* p_pic->p[i_plane].i_pitch / p_vout->output.i_width;
}
i_vout++;
......@@ -417,7 +417,7 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
p_out += i_out_pitch;
}
pi_left_skip[i_plane] += i_out_pitch;
pi_left_skip[i_plane] += i_copy_pitch;
}
vout_UnlinkPicture( p_vout->p_sys->pp_vout[ i_vout ].p_vout,
......
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