~renatofilho/camera-app/unity8-snap

  • Committer: Florian Boucault
  • Author(s): Ratchanan Srirattanamet
  • Date: 2016-08-22 17:28:59 UTC
  • mfrom: (696.1.1 camera-app)
  • Revision ID: florian_boucault-20160822172859-vxwz42tdewb8hlzt
Sort supported video resolutions list before using it.

Originally, the code assume that the list is in ascending order. But as
some device (e.g. LG L90 Dual) send this list in descending order, and
actually we probably can't rely on it's order anyway, I decided to sort
the list before using it. 

This fixes 2 issues: 
1.) video resolution ordering in UI being inconsistent.
2.) when a device send this list in descending order, and unsupported
resolution is currently selected, it'll select lowest resolution,
which is sometimes actually too low for encoder. This cause recording 
to fail.
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 108.2.2 11 years ago Robert Bruce Park Add missing split mode. Diff
assets 2 11 years ago Ugo Riboni Add assets and first draft of toolbar icons positi Diff
CameraApp 18 11 years ago Ugo Riboni Add C++ application. Doesn't do anything for now b Diff
debian 17 11 years ago Ugo Riboni add debian packaging information Diff
desktop 240.1.2 10 years ago Bill Filler added support for desktop icons Diff
po 134.2.1 10 years ago Ugo Riboni Setup the application for allowing translations an Diff
tests 34.2.1 11 years ago Michael Zanetti added autopilot tests which work with the new visu Diff
.bzrignore 134.2.3 10 years ago Ugo Riboni Allow translating the desktop file too 199 bytes Diff Download File
BottomEdgeIndicators.qml 706.1.1 7 years ago Olivier Tilloy Update copyright header. 3.3 KB Diff Download File
camera-app.desktop.in.in 566.1.1 8 years ago Florian Boucault Set desktop file flags informing Unity that the ca 336 bytes Diff Download File
File camera-app.png 565.1.1 8 years ago Olivier Tilloy Updated application icon. 14.1 KB Diff Download File
camera-app.qml 696 8 years ago Florian Boucault Clamp width/height to screen size 13.7 KB Diff Download File
camera-contenthub.json 620.1.1 8 years ago Ugo Riboni Allow acting as an export source for recording vid 63 bytes Diff Download File
camera.apparmor 585.3.19 8 years ago Florian Boucault Reverted making the resolution options contingent 349 bytes Diff Download File
cameraapplication.cpp 643.2.4 8 years ago Ugo Riboni Move all the storage locations management out of t 3 KB Diff Download File
cameraapplication.h 643.2.4 8 years ago Ugo Riboni Move all the storage locations management out of t 1.1 KB Diff Download File
CircleButton.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 2.4 KB Diff Download File
File click-build.sh 212.4.2 10 years ago Sergio Schvezov Simple script to build the click package 311 bytes Diff Download File
CMakeLists.txt 387.2.1 8 years ago Florian Boucault Merged with trunk 4.4 KB Diff Download File
config.h.in 368.2.6 9 years ago Michał Sawicz Add missing prefix to the import path. 1.7 KB Diff Download File
COPYING 94.2.2 11 years ago Ugo Riboni Add entire GPL3 license file 34.3 KB Diff Download File
DeleteDialog.qml 612.1.1 8 years ago Ugo Riboni Correctly rotate the share and delete dialogs by p 1.1 KB Diff Download File
FocusRing.qml 585.1.2 8 years ago Florian Boucault Switched to QtQuick 2.4 and QtQuick.Window 2.2 1.3 KB Diff Download File
GalleryView.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 9.3 KB Diff Download File
GalleryViewHeader.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 7.3 KB Diff Download File
GalleryViewLoader.qml 701 7 years ago Florian Boucault Do not rely on Loader.setSource for property bindi 1.2 KB Diff Download File
IconButton.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 1.2 KB Diff Download File
main.cpp 403.1.1 9 years ago Florian Boucault Add a hint to the existence of the photo roll disp 1.2 KB Diff Download File
manifest.json.in 651 8 years ago Florian Boucault Reintroduce framework bump ubuntu-sdk-15.04.4 825 bytes Diff Download File
MimeTypeMapper.js 607.4.11 8 years ago Ken VanDine Bump Ubuntu.Content import to 1.3 to fix theme iss 1.6 KB Diff Download File
NoSpaceHint.qml 585.1.2 8 years ago Florian Boucault Switched to QtQuick 2.4 and QtQuick.Window 2.2 1.1 KB Diff Download File
OptionButton.qml 682 8 years ago Florian Boucault More robust autopilot test camera_app.tests.test_f 1.1 KB Diff Download File
OptionsOverlay.qml 710 7 years ago Florian Boucault Support non numerical camera device IDs and more t 4.3 KB Diff Download File
OptionValueButton.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 2.3 KB Diff Download File
PhotoEditorLoader.qml 585.1.2 8 years ago Florian Boucault Switched to QtQuick 2.4 and QtQuick.Window 2.2 923 bytes Diff Download File
PhotogridView.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 8.8 KB Diff Download File
PhotoRollHint.qml 585.1.2 8 years ago Florian Boucault Switched to QtQuick 2.4 and QtQuick.Window 2.2 2 KB Diff Download File
PictureReview.qml 642.2.3 8 years ago Ugo Riboni Fix the export functionality 1.4 KB Diff Download File
ProcessingFeedback.qml 639.4.1 8 years ago Florian Boucault Better feedback for long processing (HDR) 1.1 KB Diff Download File
README.click 190.1.4 10 years ago Sergio Schvezov Copy paste typo fix 374 bytes Diff Download File
ResponsiveGridView.qml 585.2.3 8 years ago Florian Boucault Added missing properties 4 KB Diff Download File
SharePopover.qml 654 8 years ago Florian Boucault Migrated to Ubuntu.Content 1.3 1.6 KB Diff Download File
ShootButton.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 1.4 KB Diff Download File
SlideshowView.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 14.9 KB Diff Download File
StopWatch.qml 585.1.2 8 years ago Florian Boucault Switched to QtQuick 2.4 and QtQuick.Window 2.2 3.1 KB Diff Download File
ThinSliderStyle.qml 585.1.2 8 years ago Florian Boucault Switched to QtQuick 2.4 and QtQuick.Window 2.2 2.4 KB Diff Download File
UnableShareDialog.qml 659.3.1 8 years ago Ugo Riboni Allow sharing multiple files, except if they are m 1 KB Diff Download File
VideoReview.qml 706 7 years ago Florian Boucault Make Icon loading asynchronously. 1.8 KB Diff Download File
ViewFinderExportConfirmation.qml 642.2.3 8 years ago Ugo Riboni Fix the export functionality 4.5 KB Diff Download File
ViewFinderGeometry.qml 650.1.1 8 years ago Ugo Riboni Set Camera.position to switch front/back camera in 1.7 KB Diff Download File
ViewFinderOverlay.qml 715 7 years ago Florian Boucault Sort supported video resolutions list before using 42.4 KB Diff Download File
ViewFinderOverlayLoader.qml 704 7 years ago Florian Boucault Load view finder overlay synchronously. 1.5 KB Diff Download File
ViewFinderView.qml 712 7 years ago Florian Boucault More robust ending of photo capturing process. Fix 17.9 KB Diff Download File
ZoomControl.qml 629.1.1 8 years ago Ugo Riboni The minimum zoom level is zero, not one 2 KB Diff Download File