FileBrowser now detects the 2 frames from DualPixel Canon files

The QuickInfo frame from the EditorPanel now display the number of frame
contained in the image file if > 1 

See #4008
This commit is contained in:
Hombre57
2017-09-18 21:30:42 +02:00
parent 17c7ec684d
commit 6c988e94d4
6 changed files with 57 additions and 39 deletions

View File

@@ -1356,6 +1356,8 @@ void EditorPanel::info_toggled ()
}
} else if (isPixelShift) {
infoString = Glib::ustring::compose ("%1\n" + M("QINFO_PIXELSHIFT"), infoString, numFrames);
} else if (numFrames > 1) {
infoString = Glib::ustring::compose ("%1\n" + M("QINFO_FRAMECOUNT"), infoString, numFrames);
}
} else {
infoString = M ("QINFO_NOEXIF");