1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 10:42:29 +01:00

Add missing codec warning

This commit is contained in:
Elias Steurer 2023-01-26 13:15:46 +01:00
parent 7b8cea1a3a
commit 71b69e9f0d

View File

@ -95,8 +95,10 @@ bool ProjectFile::init()
qWarning("No videoCodec was specified inside the json object!");
if (file.endsWith(".mp4")) {
videoCodec = ScreenPlay::VideoCodec::VideoCodec::H264;
qWarning("Eyeball to h264 because of .mp4");
} else if (file.endsWith(".webm")) {
videoCodec = ScreenPlay::VideoCodec::VideoCodec::VP8;
qWarning("Eyeball to VP8 because of .webm");
}
}