Commit 3f0c8f49 authored by Laurent Aimar's avatar Laurent Aimar

Fixed media looping (Patch by Ilkka Ollakka)

parent df7b6c76
...@@ -2072,7 +2072,7 @@ static int Manage( vlc_object_t* p_object ) ...@@ -2072,7 +2072,7 @@ static int Manage( vlc_object_t* p_object )
if( p_media->cfg.b_vod || i_new_input_index >= p_media->cfg.i_input ) if( p_media->cfg.b_vod || i_new_input_index >= p_media->cfg.i_input )
vlm_ControlInternal( vlm, VLM_STOP_MEDIA_INSTANCE, p_media->cfg.id, p_instance->psz_name ); vlm_ControlInternal( vlm, VLM_STOP_MEDIA_INSTANCE, p_media->cfg.id, p_instance->psz_name );
else else
vlm_ControlInternal( vlm, VLM_START_MEDIA_BROADCAST_INSTANCE, p_media->cfg.id, p_instance->psz_name ); vlm_ControlInternal( vlm, VLM_START_MEDIA_BROADCAST_INSTANCE, p_media->cfg.id, p_instance->psz_name, i_new_input_index );
j = 0; j = 0;
} }
......
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