[vlmc-devel] commit: Big big refactoring : (Hugo Beauzee-Luyssen )
git at videolan.org
git at videolan.org
Wed Mar 10 14:52:57 CET 2010
vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 10 00:52:00 2010 +0100| [de5e0219a4bf0263c4b2d2a8140c904ae3137cdd] | committer: Hugo Beauzee-Luyssen
Big big refactoring :
Media aren't meant to be used anywhere, except when rendering. Clip can
now have subclips, we avoid using uuid when using Clip* is possible.
Correcting remaining crap in MediaListViewController and co.
View handle as many things as possible, but do not touch data.
ImportController doesn't have to do anything with deleting media. That's
the MediaContainer's job.
Probably many other things...
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=de5e0219a4bf0263c4b2d2a8140c904ae3137cdd
---
src/Gui/ClipProperty.cpp | 16 ++--
src/Gui/MainWindow.cpp | 12 +-
src/Gui/PreviewWidget.cpp | 13 +-
src/Gui/TagWidget.cpp | 59 +++++------
src/Gui/TagWidget.h | 4 +-
src/Gui/import/ImportController.cpp | 84 +++-----------
src/Gui/import/ImportController.h | 4 -
src/Gui/library/MediaCellView.cpp | 69 +++++++-----
src/Gui/library/MediaCellView.h | 4 +-
src/Gui/library/MediaLibraryWidget.cpp | 8 +-
src/Gui/library/MediaListViewController.cpp | 69 ++++++------
src/Gui/library/MediaListViewController.h | 8 +-
src/Gui/timeline/AbstractGraphicsMediaItem.cpp | 6 +-
src/Gui/timeline/GraphicsAudioItem.cpp | 6 +-
src/Gui/timeline/GraphicsMovieItem.cpp | 6 +-
src/Gui/timeline/TracksView.cpp | 18 ++--
src/Gui/timeline/TracksView.h | 2 +-
src/Library/Library.cpp | 107 +++++++++---------
src/Library/Library.h | 2 +-
src/Library/MediaContainer.cpp | 144 +++++++++++-------------
src/Library/MediaContainer.h | 88 +++++++--------
src/Media/Clip.cpp | 99 +++++++++++------
src/Media/Clip.h | 33 ++++--
src/Media/Media.cpp | 68 +-----------
src/Media/Media.h | 14 ---
src/Renderer/ClipRenderer.cpp | 47 +++++----
src/Renderer/ClipRenderer.h | 7 +-
src/Renderer/GenericRenderer.h | 18 ---
src/Renderer/WorkflowRenderer.h | 14 ---
src/Workflow/ClipWorkflow.cpp | 8 +-
src/Workflow/ImageClipWorkflow.cpp | 2 +-
src/Workflow/MainWorkflow.cpp | 4 +-
src/Workflow/TrackWorkflow.cpp | 8 +-
33 files changed, 454 insertions(+), 597 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commitdiff;h=de5e0219a4bf0263c4b2d2a8140c904ae3137cdd
More information about the Vlmc-devel
mailing list