[vlmc-devel] Rework thumbnail generation
    Hugo Beauzée-Luyssen 
    git at videolan.org
       
    Mon Oct 31 07:41:22 CET 2016
    
    
  
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct 31 04:31:02 2016 +0100| [9b24305d1b79b7a78b4bafb66ff20c23363b39e6] | committer: Hugo Beauzée-Luyssen
Rework thumbnail generation
- Add missing headers
- Let the framework handle background generation of the thumbnails
- Let the framework handle the caching
- Use Image instead of Pixmap, since the later might not be usable
outside of UI thread
> https://code.videolan.org/videolan/vlmc/commit/9b24305d1b79b7a78b4bafb66ff20c23363b39e6
---
 Makefile.am                                 |  2 -
 src/Gui/timeline/Clip.qml                   | 11 +----
 src/Gui/timeline/ThumbnailImageProvider.cpp | 77 ++++++++++++++++-------------
 src/Gui/timeline/ThumbnailImageProvider.h   | 36 +++++++++-----
 src/Gui/timeline/main.qml                   |  8 ---
 src/Workflow/MainWorkflow.cpp               | 22 +--------
 src/Workflow/MainWorkflow.h                 |  6 ---
 src/Workflow/ThumbnailWorker.cpp            | 32 ------------
 src/Workflow/ThumbnailWorker.h              | 29 -----------
 9 files changed, 71 insertions(+), 152 deletions(-)
Diff:   https://code.videolan.org/videolan/vlmc/commit/9b24305d1b79b7a78b4bafb66ff20c23363b39e6
    
    
More information about the Vlmc-devel
mailing list