Commit 5962391b authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

debug cleanup

parent 6f9f60da
...@@ -31,7 +31,7 @@ Media::Media(LibVLCpp::Instance* instance, const QString& mrl ) ...@@ -31,7 +31,7 @@ Media::Media(LibVLCpp::Instance* instance, const QString& mrl )
{ {
char const *vlc_argv[] = char const *vlc_argv[] =
{ {
"-verbose", "3", //"-vvvvv",
"--no-skip-frames", "--no-skip-frames",
"--no-audio", "--no-audio",
//"--plugin-path", VLC_TREE "/modules", //"--plugin-path", VLC_TREE "/modules",
...@@ -48,22 +48,17 @@ Media::Media(LibVLCpp::Instance* instance, const QString& mrl ) ...@@ -48,22 +48,17 @@ Media::Media(LibVLCpp::Instance* instance, const QString& mrl )
Media::~Media() Media::~Media()
{ {
qDebug() << "dtor Media";
if ( m_instance && m_instanceOwned == true ) if ( m_instance && m_instanceOwned == true )
{ {
delete m_instance; delete m_instance;
qDebug() << "deleted m_instance";
} }
if ( m_vlcMedia ) if ( m_vlcMedia )
{ {
qDebug() << "deleting m_vlcMedia";
delete m_vlcMedia; delete m_vlcMedia;
qDebug() << "deleted m_vlcMedia";
} }
if ( m_vlcMediaPlayer ) if ( m_vlcMediaPlayer )
{ {
delete m_vlcMediaPlayer; delete m_vlcMediaPlayer;
qDebug() << "deleted m_vlcMediaPlayer";
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment