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 163676 - [PATCH] [mpeg2dec] need to crop
[PATCH] [mpeg2dec] need to crop
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-11 15:12 UTC by Francis Labonte
Modified: 2005-01-17 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposing this patch... (4.70 KB, patch)
2005-01-11 16:36 UTC, Francis Labonte
none Details | Review

Description Francis Labonte 2005-01-11 15:12:46 UTC
An MPEG-2 video with size of 160x120 have a displayed size of 160x128.  In my
test case, the "extra" pixel are green...

This is cause by the fact that libmpeg2 is returning an image allign on a
multiple of 16.  If the picture size is not alligned, then the output image will
contains padding and the the decoded image will need to be cropped.
Comment 1 Francis Labonte 2005-01-11 16:36:16 UTC
Created attachment 35836 [details] [review]
Proposing this patch...
Comment 2 Ronald Bultje 2005-01-17 13:54:21 UTC
Applied (s/Crop/crop_buffer/ btw), thanks.