[vlc-commits] commit: vlm: use libvlc as a parent for vlm instance input resources ( Pierre Ynard )
git at videolan.org
git at videolan.org
Wed Oct 27 22:34:59 CEST 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Oct 27 22:33:09 2010 +0200| [1b9f5521bff05b3e84d085253fe6972dc3b18477] | committer: Pierre Ynard
vlm: use libvlc as a parent for vlm instance input resources
We can't use the VLM object because the instances and their input
resources are cleaned up in the VLM destructor
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b9f5521bff05b3e84d085253fe6972dc3b18477
---
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 8e8a5d2..efec710 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -968,7 +968,7 @@ static int vlm_ControlMediaInstanceStart( vlm_t *p_vlm, int64_t id, const char *
VLC_OBJECT(p_vlm->p_vod) :
VLC_OBJECT(p_vlm->p_libvlc);
if( !p_instance->p_input_resource )
- p_instance->p_input_resource = input_resource_New( VLC_OBJECT( p_vlm ) );
+ p_instance->p_input_resource = input_resource_New( VLC_OBJECT( p_vlm->p_libvlc ) );
p_instance->p_input = input_Create( p_parent, p_instance->p_item,
psz_log, p_instance->p_input_resource );
if( p_instance->p_input )
More information about the vlc-commits
mailing list