[vlc-devel] commit: Attach VOD task to libvlc rather than VLM - fixes #2581 ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Apr 5 18:55:59 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr  5 19:55:17 2009 +0300| [328c8d60e85d27ba8e821707695e606e2cb5e4f1] | committer: Rémi Denis-Courmont 

Attach VOD task to libvlc rather than VLM - fixes #2581

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=328c8d60e85d27ba8e821707695e606e2cb5e4f1
---

 src/input/vlm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 23e6004..97a9aad 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -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 )
         {




More information about the vlc-devel mailing list