Trying to load playlist after playlist into a QMediaPlayer in a QVideoWidget, the QMediaPlaylist just keeps adding to the previous playlist however.
even after calling
playlist->~QMediaPlayList();
videoWidget->~QVideoWidget();
playlist->~QMediaPlayList();
videoWidget->~QVideoWidget();
To copy to clipboard, switch view to plain text mode
after playlist is done, and before starting a new one.
playlist and videoWidget are in my header like this:
QVideoWidget *videoWidget;
QMediaPlaylist *playlist;
QVideoWidget *videoWidget;
QMediaPlaylist *playlist;
To copy to clipboard, switch view to plain text mode
I even disconnect all the QMediaPlayer connections and the QMediaPlaylist connection...
any tips on this? I thought a deconstructor got rid of the class object instance so that a new one can be dynamically created.
Bookmarks