[vlmc-devel] Remove Clip hierarchy

Hugo Beauzée-Luyssen git at videolan.org
Fri Aug 19 02:41:45 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug 19 01:58:54 2016 +0200| [64d0a3eda64e858cefd95aa795def87363d8bebc] | committer: Hugo Beauzée-Luyssen

Remove Clip hierarchy

Media is now the sole owner of clips. A clip doesn't have any child.
The project file now saves the media & clips as a tree.

This breaks the loading of sequence workflows and is likely to crash
until all Clips are being exposed as shared_ptr/QSharedPointer

> https://code.videolan.org/videolan/vlmc/commit/64d0a3eda64e858cefd95aa795def87363d8bebc
---

 src/Commands/Commands.cpp         |   4 +-
 src/Gui/preview/PreviewWidget.cpp |   6 +-
 src/Library/Library.cpp           |  12 ---
 src/Media/Clip.cpp                | 166 ++------------------------------------
 src/Media/Clip.h                  |  58 +------------
 src/Media/Media.cpp               |  87 +++++++++++++++++---
 src/Media/Media.h                 |  24 +++++-
 src/Workflow/MainWorkflow.cpp     |   7 +-
 src/Workflow/SequenceWorkflow.cpp |  39 ++++-----
 9 files changed, 138 insertions(+), 265 deletions(-)

Diff:   https://code.videolan.org/videolan/vlmc/commit/64d0a3eda64e858cefd95aa795def87363d8bebc


More information about the Vlmc-devel mailing list