GNOME Bugzilla – Bug 623384
[ffmpegcolorspace] Doesn't write last pixel for odd widths in packed 4:2:2 YUV->RGB conversion
Last modified: 2010-07-02 13:47:41 UTC
Attached patch fixes this, problem can easily be shown be this pipeline: GST_REGISTRY_UPDATE=no G_SLICE=always-malloc valgrind --track-origins=yes ../../../gstreamer/tools/.libs/gst-launch-0.10 videotestsrc num-buffers=1 ! ffmpegcolorspace ! "video/x-raw-rgb,bpp=32,depth=32,alpha_mask=255,width=641,height=481" ! videoscale method=2 ! "video/x-raw-rgb,width=111,height=30" ! fakesink
Created attachment 165105 [details] [review] ffmpegcolorspace: Fix conversion of packed 4:2:2 YUV to RGB The last pixel wasn't written before. Fixes bug #623384.
commit 9c9f97251a44cb4f05993cbe9dabfc40560a147f Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Jul 2 14:56:02 2010 +0200 ffmpegcolorspace: Fix conversion of packed 4:2:2 YUV to RGB The last pixel wasn't written before. Fixes bug #623384.