GNOME Bugzilla – Bug 695540
riff: support raw avi with negative height
Last modified: 2013-03-11 23:36:22 UTC
Raw RGB is usually stored topdown, yet some tools (like ffmpeg) sometimes invert the height field instead. An example video, created with ffmpeg, can be found here: http://telin.ugent.be/~dvhaeren/clip.avi This patch sets the caps to always have a positive height value. The height is not required to be positive in the strf data, since avidemux still needs to check if it really needs to invert the buffer.
Created attachment 238505 [details] [review] no negative height in caps
commit e8ca0528a9b2c9c255b25b9d822f97f24bf24879 Author: Dirk Van Haerenborgh <vhdirk@gmail.com> Date: Sun Mar 10 09:07:17 2013 +0100 riff: never create caps with negative height https://bugzilla.gnome.org/show_bug.cgi?id=695540