Split QMediaRecorder::setEncodingSettings to separate setters.
It's easier to change only the necessary part of encoding settings. The settings are applied during the next event loop or before recording starts. Change-Id: Ia2b5c93826a302212aa7f79a0c75e4cbaaf1dd7a Reviewed-by: Ling Hu <ling.hu@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
9d3102efe2
commit
a22a0195f1
@@ -144,8 +144,6 @@ private:
|
||||
friend class QDeclarativeCamera;
|
||||
QDeclarativeCameraRecorder(QCamera *camera, QObject *parent = 0);
|
||||
|
||||
void applySettings();
|
||||
|
||||
QMediaRecorder *m_recorder;
|
||||
|
||||
QAudioEncoderSettings m_audioSettings;
|
||||
|
||||
Reference in New Issue
Block a user