From 83d1255080ab2be678efbbc42e259c9681619619 Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Tue, 5 May 2015 16:40:05 +0200 Subject: Android: fix setting the camera preview resolution. - When the video capture resolution or the image capture resolution changes, we now always set the viewfinder resolution to the highest available one with the same aspect ratio as the capture resolution. We were previously not doing anything if the new capture resolution had the same aspect ratio as the current viewfinder resolution. - Some devices don't support using a viewfinder resolution different from the video capture resolution. Make sure we handle this case. Change-Id: I8d3ab7b01c56ed78d1ca838a522ba459692fc332 Reviewed-by: Christian Stromme --- src/plugins/android/src/mediacapture/qandroidcapturesession.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/android/src/mediacapture/qandroidcapturesession.h') diff --git a/src/plugins/android/src/mediacapture/qandroidcapturesession.h b/src/plugins/android/src/mediacapture/qandroidcapturesession.h index 90af39fd7..a0e7a8944 100644 --- a/src/plugins/android/src/mediacapture/qandroidcapturesession.h +++ b/src/plugins/android/src/mediacapture/qandroidcapturesession.h @@ -161,7 +161,6 @@ private: QString m_containerFormat; QAudioEncoderSettings m_audioSettings; QVideoEncoderSettings m_videoSettings; - bool m_resolutionDirty; bool m_containerFormatDirty; bool m_videoSettingsDirty; bool m_audioSettingsDirty; -- cgit v1.2.3