diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2016-01-08 17:46:20 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2016-01-11 14:17:22 +0000 |
commit | c953ef391086f4b689f6adc6d29cb8021db64845 (patch) | |
tree | f017358e1572b8089ffe577aebbc3ca71c05cd40 /examples | |
parent | 9f35d7763e50676eb8521eaaf4542eaf6851c769 (diff) |
Android: Don't call restartViewfinder() for audio only recordings.
Calling restartViewfinder() would try to access m_cameraSession without
checking if it was valid. This change adds guards around the calls to
restartViewfinder(), and one in the function itself.
Task-number: QTBUG-50282
Change-Id: I1f2b4d2b2342bf2dc2b7f28a7bcd00e08a0edb44
Reviewed-by: jian liang <jianliang79@gmail.com>
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions