@@ 1163-1166 (lines=4) @@ | ||
1160 | $atom_structure['modify_time_unix'] = getid3_lib::DateMac2Unix($atom_structure['modify_time']); |
|
1161 | ||
1162 | if ($atom_structure['flags']['enabled'] == 1) { |
|
1163 | if (!isset($info['video']['resolution_x']) || !isset($info['video']['resolution_y'])) { |
|
1164 | $info['video']['resolution_x'] = $atom_structure['width']; |
|
1165 | $info['video']['resolution_y'] = $atom_structure['height']; |
|
1166 | } |
|
1167 | $info['video']['resolution_x'] = max($info['video']['resolution_x'], $atom_structure['width']); |
|
1168 | $info['video']['resolution_y'] = max($info['video']['resolution_y'], $atom_structure['height']); |
|
1169 | $info['quicktime']['video']['resolution_x'] = $info['video']['resolution_x']; |
@@ 699-702 (lines=4) @@ | ||
696 | if ( is_array( $size ) ) { |
|
697 | $candidates = array(); |
|
698 | ||
699 | if ( ! isset( $imagedata['file'] ) && isset( $imagedata['sizes']['full'] ) ) { |
|
700 | $imagedata['height'] = $imagedata['sizes']['full']['height']; |
|
701 | $imagedata['width'] = $imagedata['sizes']['full']['width']; |
|
702 | } |
|
703 | ||
704 | foreach ( $imagedata['sizes'] as $_size => $data ) { |
|
705 | // If there's an exact match to an existing image size, short circuit. |