mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-05 18:42:29 +01:00
Add missing codec warning
This commit is contained in:
parent
7b8cea1a3a
commit
71b69e9f0d
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user