media: Ignore EXIF tag GPSAltitudeRef in FormatMetadata
GPSAltitudeRef is no longer written to img_metadata, but for compatibility with old rows, don't raise a formatnum warning, just ignore the tag. Bug: T285213 Change-Id: Icc074bc0d7bd6a84f73a26e8dd001be85cbef165
This commit is contained in:
parent
d5aa75d472
commit
5150f19d65
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ class FormatMetadata extends ContextSource {
|
|||
unset( $tags['AuthorsPosition'] );
|
||||
unset( $tags['LocationCreated'] );
|
||||
unset( $tags['LocationShown'] );
|
||||
unset( $tags['GPSAltitudeRef'] );
|
||||
|
||||
foreach ( $tags as $tag => &$vals ) {
|
||||
// This seems ugly to wrap non-array's in an array just to unwrap again,
|
||||
|
|
|
|||
Loading…
Reference in a new issue