Changeset af3a9f1bda52929ead2943edda814bdd8a6d2538

Show
Ignore:
Timestamp:
03/19/08 02:05:25 (6 months ago)
Author:
Pierre d'Herbemont <pdherbemont@free.fr>
git-committer:
Pierre d'Herbemont <pdherbemont@free.fr> 1205888725 +0100
git-parent:

[cf3100336b61b3297f368c68c5e019b157dba63b]

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

control/media_instance.c: Fix libvlc_media_instance_new_from_input_thread() now that input refcounting is fixed.

Files:

Legend:

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

    rcd3ea88 raf3a9f1  
    104104    else 
    105105    { 
    106         /* XXX: hack the playlist doesn't retain the input thread, 
    107          * so we did it for the playlist (see _new_from_input_thread), 
    108          * revert that here. This will be deleted with the playlist API */ 
    109106        vlc_object_release( p_input_thread ); 
    110107    } 
     
    411408    vlc_object_yield( p_input ); 
    412409 
    413     /* XXX: Hack as the playlist doesn't yield the input thread we retain 
    414      * the input for the playlist. (see corresponding hack in _release) */ 
    415     vlc_object_yield( p_input ); 
    416  
    417410    return p_mi; 
    418411}