Skip to content

Commit

Permalink
fix deadlock on File > Close or New
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Jan 20, 2025
1 parent c62e040 commit c0c6933
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,8 @@ void MainWindow::openCut(Mlt::Producer *producer, bool play)
{
m_player->setPauseAfterOpen(!play);
open(producer);
MLT.seek(producer->get_in());
if (!MLT.isClosedClip(producer))
MLT.seek(producer->get_in());
}

void MainWindow::hideProducer()
Expand Down

0 comments on commit c0c6933

Please sign in to comment.