diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-06-30 14:22:58 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-07-08 15:16:25 +0200 |
commit | 1b479a78945070932acc11f5ded533586563943a (patch) | |
tree | f544029b8e179a05f05a9c14d07dbdfd0698f8bf /src/multimedia/qmediaformat.cpp | |
parent | b4e6892b64cce803d52f0e898e746bd9810501cc (diff) |
Rename QMediaCaptureSession::encoder to recorder
As the class is called QMediaRecorder this is required
for API consistency. Also cleaned up the front end code
and examples where they used encoder instead of recorder.
Cleanup of the backend will have to come in a separate change.
Change-Id: I6e63e607473e68f628b1f89ffa3edcbc5bf5c2c8
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Bartlomiej Moskal <bartlomiej.moskal@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/multimedia/qmediaformat.cpp')
-rw-r--r-- | src/multimedia/qmediaformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/qmediaformat.cpp b/src/multimedia/qmediaformat.cpp index 18bc4621d..fd049679d 100644 --- a/src/multimedia/qmediaformat.cpp +++ b/src/multimedia/qmediaformat.cpp @@ -432,7 +432,7 @@ bool QMediaFormat::operator==(const QMediaFormat &other) const Resolves the format to a format that is supported by QMediaRecorder. This method tries to find the best possible match for unspecified settings. - Settings that are not supported by the encoder will be modified to the closest + Settings that are not supported by the recorder will be modified to the closest match that is supported. */ void QMediaFormat::resolveForEncoding(ResolveFlags flags) |