Cleanup of Session loading, saving, embedding in source and added option

to make sessionSource the current Session.
This commit is contained in:
brunoherbelin
2020-05-21 10:20:40 +02:00
parent 8ad58ebeca
commit f16c1843c3
20 changed files with 295 additions and 267 deletions

View File

@@ -26,11 +26,9 @@ MediaSource::MediaSource() : Source(), path_("")
MediaSource::~MediaSource()
{
// TODO delete media surface with visitor
// delete media surface & player
delete mediasurface_;
delete mediaplayer_;
// TODO verify that all surfaces and node is deleted in Source destructor
}
void MediaSource::setPath(const std::string &p)