gl: must store and compare line size instead of pixel size

use pixel size is totally wrong! it does happens in va. for example, a
1080p video stride is 1920 for vaapi and 2048 for CUDA, then if decoder
changed, opengl renderer crashes or the display is wrong.