Commit 13bfe4cc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ActiveX: fix compilation

parent 181466ef
...@@ -493,12 +493,7 @@ void VLCPlugin::initVLC() ...@@ -493,12 +493,7 @@ void VLCPlugin::initVLC()
if( libvlc_exception_raised(&ex) ) if( libvlc_exception_raised(&ex) )
return; return;
_p_mlist = libvlc_media_list_new(_p_libvlc, &ex); _p_mlist = libvlc_media_list_new(_p_libvlc);
if( libvlc_exception_raised(&ex) )
{
libvlc_release(_p_libvlc);
return;
}
// initial volume setting // initial volume setting
libvlc_audio_set_volume(_p_libvlc, _i_volume, NULL); libvlc_audio_set_volume(_p_libvlc, _i_volume, NULL);
......
...@@ -260,7 +260,7 @@ public: ...@@ -260,7 +260,7 @@ public:
return; return;
if( _p_mlist ) if( _p_mlist )
libvlc_media_list_release(_p_mlist); libvlc_media_list_release(_p_mlist);
_p_mlist = libvlc_media_list_new(_p_libvlc,ex); _p_mlist = libvlc_media_list_new(_p_libvlc);
} }
int playlist_count(libvlc_exception_t *ex) int playlist_count(libvlc_exception_t *ex)
{ {
......
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