mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-10-04 16:27:07 +02:00
Fix c++ if without {}
This commit is contained in:
parent
19c16a44ab
commit
72e1231224
@ -568,16 +568,16 @@ bool CreateImportVideo::createWallpaperVideo()
|
||||
|
||||
QString targetCodec;
|
||||
QString targetFileEnding;
|
||||
if (m_targetCodec == Video::VideoCodec::VP8)
|
||||
if (m_targetCodec == Video::VideoCodec::VP8) {
|
||||
targetCodec = "libvpx";
|
||||
targetFileEnding = ".webm";
|
||||
if (m_targetCodec == Video::VideoCodec::VP8)
|
||||
targetCodec = "libvpx";
|
||||
} else if (m_targetCodec == Video::VideoCodec::VP9) {
|
||||
targetCodec = "libvpx-vp9";
|
||||
targetFileEnding = ".webm";
|
||||
if (m_targetCodec == Video::VideoCodec::AV1)
|
||||
} else if (m_targetCodec == Video::VideoCodec::AV1) {
|
||||
targetCodec = "libaom-av1";
|
||||
targetFileEnding = ".mkv";
|
||||
if (m_targetCodec == Video::VideoCodec::H264) {
|
||||
} else if (m_targetCodec == Video::VideoCodec::H264) {
|
||||
targetFileEnding = ".mp4";
|
||||
if (QOperatingSystemVersion::currentType() == QOperatingSystemVersion::Windows) {
|
||||
targetCodec = "h264_mf";
|
||||
|
Loading…
Reference in New Issue
Block a user