[vlc-devel] [vlc-commits] VLM: create input resource immediately for each instance

Sébastien Escudier sebastien-devel at celeos.eu
Wed Feb 6 20:32:19 CET 2013


Hi,

This commit ( 1925313da23e72dbf7e7c69e63e1547c9bfd8bc4 ) breaks VOD :
"stream_out_rtp stream out error: missing destination and not in RTSP mode"

-    p_instance->p_input_resource = NULL;
+    p_instance->p_input_resource = input_resource_New( VLC_OBJECT(p_vlm) );
 
[...]
@@ -1030,9 +1027,6 @@ static int vlm_ControlMediaInstanceStart( vlm_t *p_vlm, int64_t id, const char *
 
     if( asprintf( &psz_log, _("Media: %s"), p_media->cfg.psz_name ) != -1 )
     {
-        if( !p_instance->p_input_resource )
-            p_instance->p_input_resource = input_resource_New( p_instance->p_parent );


Should I just put back "p_instance->p_parent" instead of
"VLC_OBJECT(p_vlm)" or revert the whole commit ?

Regards,
Sébastien.




More information about the vlc-devel mailing list