*
* Authors: RĂ©mi Denis-Courmont <rem # videolan.org>
*
- * Based on original wxWindows patch for VLC, and dependant on CyberLink
+ * Based on original wxWindows patch for VLC, and dependent on CyberLink
* UPnP library from :
* Satoshi Konno <skonno@cybergarage.org>
*
# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_playlist.h>
/* FIXME: thread-safety ?? */
vlc_module_begin();
set_shortname( "UPnP");
- set_description( _("Universal Plug'n'Play discovery") );
+ set_description( N_("Universal Plug'n'Play discovery") );
set_category( CAT_PLAYLIST );
set_subcategory( SUBCAT_PLAYLIST_SD );
msg_Dbg( p_sd, "UPnP discovery started" );
/* read SAP packets */
- while( !p_sd->b_die )
+ while( vlc_object_alive (p_sd) )
{
msleep( 500 );
}