vo_gl: fix image corruption with PBOs when playing 10 bit video
commit20256a8a64c9679bc9136bbdd7f0c687ad2361c1
authorwm4 <wm4@mplayer2.org>
Thu, 6 Oct 2011 13:59:14 +0000 (6 15:59 +0200)
committerUoti Urpala <uau@mplayer2.org>
Thu, 6 Oct 2011 14:03:23 +0000 (6 17:03 +0300)
treee958354270076c6d3f0f08fdbbcb390d603aba35
parent318559056f22352d57145b36e1292941ae7353cd
vo_gl: fix image corruption with PBOs when playing 10 bit video

vo_gl.c hardcoded the assumption that YUV formats always use 1 byte per
component. This corrupted the output when playing 10 bit h264 video.

Only the PBO code path was affected. PBOs are normally unused, unless ATI
is detected, or the force-pbo option is used.
libvo/vo_gl.c