GNOME Bugzilla – Bug 789057
Fix -Wenum-conversion warnings
Last modified: 2017-10-19 14:24:46 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.
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.
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