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 406046 - [PATCH] more HOST_ENDIAN video caps in video.h
[PATCH] more HOST_ENDIAN video caps in video.h
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-09 10:09 UTC by Philip Jägenstedt
Modified: 2007-12-10 03:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for video.h (1.55 KB, patch)
2007-02-09 10:09 UTC, Philip Jägenstedt
none Details | Review

Description Philip Jägenstedt 2007-02-09 10:09:15 UTC
The attached patch adds HOST_ENDIAN caps for all the 32-bit formats. I only wanted GST_VIDEO_CAPS_ARGB_HOST_ENDIAN myself, but why not all them all.
Comment 1 Philip Jägenstedt 2007-02-09 10:09:47 UTC
Created attachment 82213 [details] [review]
patch for video.h
Comment 2 David Schleef 2007-02-10 01:52:07 UTC
Using endianness dependent formats for 32-bit video is almost always wrong.  There are a few cases where someone wrote a library without understanding that video cards (and thus X) only care about memory order.

I don't think the existing HOST_ENDIAN macros make sense.