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 700521 - androidmedia: crop_top should be divided by 2 in COLOR_FormatYUV420 converting
androidmedia: crop_top should be divided by 2 in COLOR_FormatYUV420 converting
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal minor
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-17 12:28 UTC by cee1
Modified: 2013-05-20 11:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch fixing this minor bug (1.41 KB, patch)
2013-05-17 12:28 UTC, cee1
committed Details | Review

Description cee1 2013-05-17 12:28:41 UTC
Created attachment 244517 [details] [review]
A patch fixing this minor bug

androidmedia/gstamcvideodec.c

When calculating cropped area for U/V plane, crop_top should be divided by 2 in COLOR_FormatYUV420 converting logic, since the U/V planes have
half the size in both dimensions.
Comment 1 Sebastian Dröge (slomo) 2013-05-20 11:24:35 UTC
commit 0a90994b990fc80b5ee187924942cf717ad28746
Author: Chen Jie <chenj@lemote.com>
Date:   Fri May 17 20:17:31 2013 +0800

    androidmedia: fix a minor error in COLOR_FormatYUV420Planar converting
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700521