Changeset d2265a34f9e4eab54a03f5457a007c11d6740595

Show
Ignore:
Timestamp:
03/29/08 17:44:32 (5 months ago)
Author:
Pierre d'Herbemont <pdherbemont@free.fr>
git-committer:
Pierre d'Herbemont <pdherbemont@free.fr> 1206809072 +0100
git-parent:

[23efea7f9b70b91116cac5893f9efff10aae0e87]

git-author:
Pierre d'Herbemont <pdherbemont@free.fr> 1206809072 +0100
Message:

media_instance: Use input_CreateThread() to have a stop that is synchronous.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/media_instance.c

    r50db778 rd2265a3  
    566566    } 
    567567 
    568     int i_input_id = input_Read( p_mi->p_libvlc_instance->p_libvlc_int, 
    569                       p_mi->p_md->p_input_item, VLC_FALSE ); 
    570  
    571     /* Released in input_release */ 
    572     p_mi->p_input_thread = (input_thread_t*)vlc_object_get( i_input_id ); 
     568    p_mi->p_input_thread = input_CreateThread( p_mi->p_libvlc_instance->p_libvlc_int, 
     569                      p_mi->p_md->p_input_item ); 
     570 
    573571 
    574572    if( !p_mi->p_input_thread )