Commit a29d83ff authored by VaL Doroshchuk's avatar VaL Doroshchuk
Browse files

Gstreamer: Negotiate default settings before encoding container profile


In case if container format, video and audio codec are not provided,
need to fetch default ones.

Change-Id: I616fabc7bf9ec7c7a08a4c5dacad87a1748209f3
Reviewed-by: default avatarAndy Shaw <andy.shaw@qt.io>
Showing with 2 additions and 2 deletions
......@@ -836,6 +836,8 @@ void CameraBinSession::load()
return;
}
m_recorderControl->applySettings();
#if QT_CONFIG(gstreamer_encodingprofiles)
GstEncodingContainerProfile *profile = m_recorderControl->videoProfile();
if (profile) {
......@@ -880,8 +882,6 @@ void CameraBinSession::start()
setStatus(QCamera::StartingStatus);
m_recorderControl->applySettings();
setAudioCaptureCaps();
setupCaptureResolution();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment