Commit c56ae63c authored by Simon Latapie's avatar Simon Latapie

* vlm.c: little bug fix for stop command

parent ca30e8da
......@@ -1009,6 +1009,8 @@ static int vlm_MediaControl( vlm_t *vlm, vlm_media_t *media, char *psz_name, cha
{
int i;
if( media->p_input )
{
input_StopThread( media->p_input );
input_DestroyThread( media->p_input );
vlc_object_detach( media->p_input );
......@@ -1023,6 +1025,7 @@ static int vlm_MediaControl( vlm_t *vlm, vlm_media_t *media, char *psz_name, cha
media->input_option = NULL;
media->i_input_option = 0;
}
return 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