Skip to content

Commit

Permalink
[ci] Various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Apr 5, 2024
1 parent c3b98a1 commit 3a82678
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/Syphon-Framework
4 changes: 2 additions & 2 deletions ci/mingw.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ cmake $SCORE_DIR \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=install \
-DSCORE_DISABLED_PLUGINS="score-plugin-vst3;score-plugin-jit;score-plugin-faust" \
-DCMAKE_CXX_FLAGS="-Wa,-mbig-obj" \
-DCMAKE_CXX_FLAGS="-Wa,-mbig-obj -fexperimental-library" \
-DCMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS=1 \
-DCMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS=1 \
-DCMAKE_NINJA_FORCE_RESPONSE_FILE=1 \
-DSCORE_PCH=1

cmake --build .
cmake --build . --target install
cmake --build . --target install
4 changes: 4 additions & 0 deletions src/plugins/score-plugin-gfx/Gfx/CameraDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,10 @@ CameraSettingsWidget::CameraSettingsWidget(QWidget* parent)
m_layout->addRow(tr("Device"), m_device);
m_layout->addRow(tr("Input"), m_input);

#if QT_VERSION > QT_VERSION_CHECK(6, 4, 0)
m_layout->setRowVisible(1, false);
m_layout->setRowVisible(2, false);
#endif

const auto& info = LibavIntrospection::instance();
for(auto& demux : info.demuxers)
Expand Down Expand Up @@ -270,9 +272,11 @@ void CameraSettingsWidget::setSettings(const Device::DeviceSettings& settings)
const CameraSettings& set = settings.deviceSpecificSettings.value<CameraSettings>();
m_device->setText(set.device);

#if QT_VERSION > QT_VERSION_CHECK(6, 4, 0)
bool showCustom = set.input == "<CUSTOM>";
m_layout->setRowVisible(1, showCustom);
m_layout->setRowVisible(2, showCustom);
#endif
}

}
Expand Down

0 comments on commit 3a82678

Please sign in to comment.