[vlc-devel] commit: Mozilla: compile fix (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Jan 29 00:59:25 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 29 00:59:24 2010 +0100| [dbca7907c5788d62006f88d769e0c40c4544886b] | committer: Jean-Baptiste Kempf
Mozilla: compile fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dbca7907c5788d62006f88d769e0c40c4544886b
---
projects/mozilla/vlcplugin.cpp | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp
index 47f08b5..80cf5dd 100644
--- a/projects/mozilla/vlcplugin.cpp
+++ b/projects/mozilla/vlcplugin.cpp
@@ -209,12 +209,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
return NPERR_GENERIC_ERROR;
}
- libvlc_media_list = libvlc_media_list_new(libvlc_instance,&ex);
- if( libvlc_exception_raised(&ex) )
- {
- libvlc_exception_clear(&ex);
- return NPERR_GENERIC_ERROR;
- }
+ libvlc_media_list = libvlc_media_list_new(libvlc_instance);
/*
** fetch plugin base URL, which is the URL of the page containing the plugin
@@ -386,7 +381,7 @@ void VlcPlugin::playlist_clear( libvlc_exception_t *ex )
{
if( libvlc_media_list )
libvlc_media_list_release(libvlc_media_list);
- libvlc_media_list = libvlc_media_list_new(getVLC(),ex);
+ libvlc_media_list = libvlc_media_list_new(getVLC());
}
int VlcPlugin::playlist_count()
More information about the vlc-devel
mailing list