Commit graph

7 commits

Author SHA1 Message Date
Ivailo Monev
c50f1ce84c okular: multiply the size by 4 from SnapshotTaker
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-28 11:22:50 +02:00
Ivailo Monev
91e0bf2ce0 okular: copyrighting snapshot taker to me
nothing left from the original code logic

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-28 05:53:07 +02:00
Ivailo Monev
5b77797be4 okular: rewrite snapshot taker to use KIO::PreviewJob
KIO::PreviewJob was made for this kind of things, it also does not involve
loading the file (which may play a sound even if the widget is not
visible), seeking, pausing and then grabbing a QWidget snapshot. the only
requirement is for ffmpegthumbs thumbnailer to be installed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-28 05:48:24 +02:00
Ivailo Monev
2802b4bbbf generic: adjust to media classes changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-26 09:57:27 +02:00
Ivailo Monev
89a76dc6ca okular: replace Phonon with custom media classes
some form elements were not working before either so the only
regression here is the seek slider, if KMediaWidget is used the
whole custom controls code can be trown out I suppose but I'm not
sure if the controls should be embeded along with the video or
they be can/should be separate

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-31 06:40:57 +00:00
Ivailo Monev
c924f0d9e5 okular: use new API for phonon call in snapshot taker 2015-01-03 02:00:01 +00:00
Ivailo Monev
bf2d9dcd05 import a bunch of important libraries and applications 2014-11-19 02:23:05 +00:00