After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613093 - Improper boundary condition handling in videoscale.
Improper boundary condition handling in videoscale.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.28
Other All
: Normal normal
: 0.10.29
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-17 00:11 UTC by Yiliang Bao
Modified: 2010-03-17 15:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yiliang Bao 2010-03-17 00:11:38 UTC
Some columns at the right edge are not right, if we run the following pipeline.

gst-launch videotestsrc ! video/x-raw-yuv, width=320, height=240, format='(fourcc)YUY2' ! videoscale ! video/x-raw-yuv, width=640, height=480 ! xvimagesink

The boundary condition at the right edge is not handled properly in function vs_scanline_resample_linear_YUYV(), in file vs_scanline.c. 



Similar problem exists in function vs_scanline_resample_linear_UYVY().
Comment 1 Sebastian Dröge (slomo) 2010-03-17 08:38:28 UTC
Do you want to provide a patch? Otherwise I'll look at this later today.
Comment 2 Sebastian Dröge (slomo) 2010-03-17 15:48:10 UTC
commit bbdc60fbcb0b41c144e4036173f9fa7ebe1993d8
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Wed Mar 17 16:46:32 2010 +0100

    videoscale: Use correct boundary checks for YUY2/UYVY
    
    Fixes bug #613093.