Skip to content

Commit

Permalink
Fix possible crash using Melted.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Mar 1, 2015
1 parent c0ed232 commit 7310c52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2014 Meltytech, LLC
* Copyright (c) 2011-2015 Meltytech, LLC
* Author: Dan Dennedy <dan@dennedy.org>
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -1781,7 +1781,6 @@ void MainWindow::onMeltedUnitOpened()
Mlt::Producer* producer = new Mlt::Producer(MLT.profile(), "color:");
MLT.setProducer(producer);
MLT.play(0);
delete m_propertiesDock->widget();
m_player->connectTransport(m_meltedPlaylistDock->transportControl());
connect(m_meltedServerDock, SIGNAL(positionUpdated(int,double,int,int,int,bool)),
m_player, SLOT(onShowFrame(int,double,int,int,int,bool)));
Expand Down

0 comments on commit 7310c52

Please sign in to comment.