Commit 328c8d60 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent d8a1a140
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment