[vlc-commits] fix regression from 1925313da2 : vod creation failed in rtp stream out module because it couldn' t access some variable (vod-media and vod-session)

Sébastien Escudier git at videolan.org
Thu Feb 7 11:22:09 CET 2013


vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Thu Feb  7 11:07:48 2013 +0100| [ba66ad016e26a3b97378315dd5ca92343dd8a60a] | committer: Sébastien Escudier

fix regression from 1925313da2 : vod creation failed in rtp stream out module because it couldn't access some variable (vod-media and vod-session)

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

 src/input/vlm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index 29c016e..4450e59 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -900,7 +900,7 @@ static vlm_media_instance_sys_t *vlm_MediaInstanceNew( vlm_t *p_vlm, const char
     p_instance->b_sout_keep = false;
     p_instance->p_parent = vlc_object_create( p_vlm, sizeof (vlc_object_t) );
     p_instance->p_input = NULL;
-    p_instance->p_input_resource = input_resource_New( VLC_OBJECT(p_vlm) );
+    p_instance->p_input_resource = input_resource_New( p_instance->p_parent );
 
     return p_instance;
 }



More information about the vlc-commits mailing list