]> git.sesse.net Git - vlc/blob - src/control/plugin.c
Merge mediacontrol to trunk
[vlc] / src / control / plugin.c
1 #include "mediacontrol-core.h"
2 #include <vlc/intf.h>
3
4 mediacontrol_Instance* mediacontrol_new( char** args, mediacontrol_Exception *exception )
5 {
6     exception->code = mediacontrol_InternalException;
7     exception->message = strdup( "The mediacontrol extension was compiled for plugin use only." );
8     return NULL;
9 };
10
11 void
12 mediacontrol_exit( mediacontrol_Instance *self )
13 {
14     /* 
15        vlc_object_release( self->p_playlist );
16     */
17     
18     vlc_mutex_lock( &self->p_intf->change_lock );
19     self->p_intf->b_die = 1;
20     vlc_mutex_unlock( &self->p_intf->change_lock );
21
22     /*
23       vlc_object_release( self->p_intf );
24       vlc_object_release( self->p_vlc );
25     */
26 }