lp://staging/~peat-new/camera-app/sort-video-resolutions-list

Created by Ratchanan Srirattanamet and last modified
Get this branch:
bzr branch lp://staging/~peat-new/camera-app/sort-video-resolutions-list
Only Ratchanan Srirattanamet can upload to this branch. If you are Ratchanan Srirattanamet please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ratchanan Srirattanamet
Project:
camera-app
Status:
Merged

Recent revisions

697. By Ratchanan Srirattanamet

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.

696. By Florian Boucault

Clamp width/height to screen size

695. By Florian Boucault

Autopilot tests: added ubuntu system tests helper to deactivate trust prompts.

694. By Florian Boucault

Autopilot tests flake8 fix.

693. By Florian Boucault

Autopilot tests are now properly robust to changes in orientation

692. By Florian Boucault

Autopilot tests flake8 fix.

691. By Florian Boucault

Autopilot test stability fix: removed useless check

690. By Florian Boucault

Autopilot test stability fix: more clearance when testing focus on the edges

689. By Ugo Riboni

Set Camera.position to switch front/back cameras instead of AdvancedCameraSettings and hardcoded camera indexes

688. By Florian Boucault

Reverted revision 637 that was causing a regression where the controls could not be opened in landscape orientation anymore.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/camera-app
This branch contains Public information 
Everyone can see this information.