00001 #include "mediacontrol-core.h"
00002 #include <vlc/intf.h>
00003
00004 mediacontrol_Instance* mediacontrol_new( char** args, mediacontrol_Exception *exception )
00005 {
00006 exception->code = mediacontrol_InternalException;
00007 exception->message = strdup( "The mediacontrol extension was compiled for plugin use only." );
00008 return NULL;
00009 };
00010
00011 void
00012 mediacontrol_exit( mediacontrol_Instance *self )
00013 {
00014
00015
00016
00017
00018 vlc_mutex_lock( &self->p_intf->change_lock );
00019 self->p_intf->b_die = 1;
00020 vlc_mutex_unlock( &self->p_intf->change_lock );
00021
00022
00023
00024
00025
00026 }