]> git.sesse.net Git - vlc/commitdiff
Attach VOD task to libvlc rather than VLM - fixes #2581
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 5 Apr 2009 16:55:17 +0000 (19:55 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 5 Apr 2009 16:55:53 +0000 (19:55 +0300)
src/input/vlm.c

index 23e6004346bdba3c27e9d1caa73a5b1782ae9acd..97a9aade0a935da7bb4de34987439296114499cb 100644 (file)
@@ -613,7 +613,7 @@ static int vlm_ControlMediaAdd( vlm_t *p_vlm, vlm_media_t *p_cfg, int64_t *p_id
     {
         p_vlm->p_vod = vlc_custom_create( VLC_OBJECT(p_vlm), sizeof( vod_t ),
                                           VLC_OBJECT_GENERIC, "vod server" );
-        vlc_object_attach( p_vlm->p_vod, p_vlm );
+        vlc_object_attach( p_vlm->p_vod, p_vlm->p_libvlc );
         p_vlm->p_vod->p_module = module_need( p_vlm->p_vod, "vod server", NULL, false );
         if( !p_vlm->p_vod->p_module )
         {