remove using the old thumbnail creation

Since the rust implementation happens on insertion of slides and
creates a property for it, it's better as we won't need to create it
on the fly. Now we'll just need to move it into a background thread so
things will load while ffmpeg creates thumbnails for us.
This commit is contained in:
Chris Cochrun 2023-04-23 07:06:36 -05:00
parent 7d46382d2e
commit 12fb5592a7

View file

@ -10,10 +10,10 @@ Item {
implicitHeight: Kirigami.Units.gridUnit * 6.5 implicitHeight: Kirigami.Units.gridUnit * 6.5
implicitWidth: Kirigami.Units.gridUnit * 9 implicitWidth: Kirigami.Units.gridUnit * 9
property bool showVidBG property bool showVidBG
Component.onCompleted: { /* Component.onCompleted: { */
if (model.videoBackground != "") /* if (model.videoBackground != "") */
SlideModel.thumbnailVideoRust(model.videoBackground, model.serviceItemId, index, SlideMod); /* SlideModel.thumbnailVideoRust(model.videoBackground, model.serviceItemId, index, SlideMod); */
} /* } */
Rectangle { Rectangle {
id: previewHighlight id: previewHighlight