mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
metadata: Another workaround for enum values that are not actually member of the enum
This commit is contained in:
parent
65b0f75d1b
commit
4196f9290f
1 changed files with 5 additions and 1 deletions
|
@ -791,7 +791,11 @@ metadataparse_handle_unit_tags (ExifEntry * entry, MEUserData * meudata,
|
|||
{
|
||||
gboolean ret = TRUE;
|
||||
|
||||
switch (entry->tag) {
|
||||
/* FIXME: Cast to gint because EXIF_TAG_GPS_ALTITUDE_REF
|
||||
* and EXIF_TAG_GPS_LONGITUDE_REF are not part of ExifTag
|
||||
* and gcc warns about this
|
||||
*/
|
||||
switch ((gint) entry->tag) {
|
||||
case EXIF_TAG_RESOLUTION_UNIT:
|
||||
meudata->resolution_unit = exif_get_short (entry->data, byte_order);
|
||||
if (meudata->resolution_unit == 3) {
|
||||
|
|
Loading…
Reference in a new issue