1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 16:32:33 +02:00

Add default argument for video convert

This is weird to set a codec if we do not even use it
This commit is contained in:
Elias Steurer 2021-09-01 20:20:10 +02:00
parent 498e1b855a
commit a6effa2106
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ Item {
swipeView.currentIndex = 1;
createWallpaperVideoImportConvert.filePath = filePath;
ScreenPlay.util.setNavigationActive(false);
ScreenPlay.create.createWallpaperStart(filePath, Create.VP9);
ScreenPlay.create.createWallpaperStart(filePath);
}
}

View File

@ -100,7 +100,7 @@ signals:
public slots:
void cancel();
void createWallpaperStart(QString videoPath, Create::VideoCodec codec, const int quality = 50);
void createWallpaperStart(QString videoPath, Create::VideoCodec codec = Create::VideoCodec::VP9, const int quality = 50);
void saveWallpaper(const QString title,
const QString description,