[vlc-devel] [PATCH] Fixing avi with raw video padding issue

Rémi Denis-Courmont remi at remlab.net
Sun Oct 27 15:41:54 CET 2013


Le dimanche 27 octobre 2013 21:35:22 Gal Vinograd a écrit :
> this patch fix the padding issue with playing avi files with raw video
> codec. according to the specification every raw line of video should be
> padded to multiples of 4. here are the faulty files:
> http://speedy.sh/x9bVq/test-odd253-rgb-highspeed.avi
> http://speedy.sh/54jA8/test-odd253-8b-highspeed.avi
> 
> reffering to Remi Denis-Courmont comments

The decoder cannot change the pitch of picture buffers it gets from the video 
output. Basically the same problem remains as with the first patch.

If the pitch from the demuxer does not match the pitch of the output, the 
decoder must decode/copy line by line.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list