fix some bugs with marking end of raster lines for video streaming.
fix bugs with video compression.