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 789057 - Fix -Wenum-conversion warnings
Fix -Wenum-conversion warnings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-omx
git master
Other Linux
: Normal minor
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-10-16 14:26 UTC by Guillaume Desmottes
Modified: 2017-10-19 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
properly cast extension enums (1.76 KB, patch)
2017-10-16 14:27 UTC, Guillaume Desmottes
committed Details | Review
omxh265: fix enum casting when using Allegro HEVC extensions (2.10 KB, patch)
2017-10-16 14:27 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2017-10-16 14:26:55 UTC
.
Comment 1 Guillaume Desmottes 2017-10-16 14:27:17 UTC
Created attachment 361677 [details] [review]
properly cast extension enums

OMX's allow 3rds party to define extensions using their own enums
(like OMX_VIDEO_CODINGEXTTYPE) and to be used as the general
ones (like OMX_VIDEO_CODINGTYPE).
Properly cast those to fix -Wenum-conversion warnings from some
compilers such as clang.
Comment 2 Guillaume Desmottes 2017-10-16 14:27:54 UTC
Created attachment 361678 [details] [review]
omxh265: fix enum casting when using Allegro HEVC extensions

Allegro's HEVC implementation defines a superset of the profiles and
enums from the Android implementation.
Properly cast to fix -Wenum-conversion warnings from clang.
Comment 3 Sebastian Dröge (slomo) 2017-10-19 14:23:21 UTC
Attachment 361677 [details] pushed as cc0e3c8 - properly cast extension enums
Attachment 361678 [details] pushed as 2da61ef - omxh265: fix enum casting when using Allegro HEVC extensions