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 564114 - [PATCH] fbdev: fix depth calculation
[PATCH] fbdev: fix depth calculation
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.11
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-11 13:23 UTC by Luotao Fu
Modified: 2008-12-23 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixes the depth calculation (1.14 KB, patch)
2008-12-11 13:24 UTC, Luotao Fu
none Details | Review

Description Luotao Fu 2008-12-11 13:23:02 UTC
Depth should be a summary of the lengthes of all colors and the the alpha channel. It's however calculated with
fbdevsink->varinfo.bits_per_pixel - fbdevsink->varinfo.transp.length
This doesn't make much sense to me.
Comment 1 Luotao Fu 2008-12-11 13:24:52 UTC
Created attachment 124417 [details] [review]
Patch fixes the depth calculation
Comment 2 Wim Taymans 2008-12-23 12:25:49 UTC
        Patch by: Luotao Fu <l dot fu at pengutronix dot de>

        * sys/fbdev/gstfbdevsink.c: (gst_fbdevsink_getcaps):
        Fix the Depth calculation.
        Fixes #564114.