Changeset ebe4a155c30713ca1d3b3b4a6842f1b0206ac82c

Show
Ignore:
Timestamp:
17/09/05 15:29:37 (3 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1126963777 +0000
git-parent:

[59add6328988b5c6acb83d57817b7b6864730c51]

git-author:
Clément Stenac <zorglub@videolan.org> 1126963777 +0000
Message:

Select the correct input in #display (Closes:#343)

The module used FIND_ANYWHERE. The proposed patch solved the bug as a side-effect as you get the latest created input, which is the current one with the proposed patch (wait for init to signal thread as ready)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/display.c

    rfe087a3 rebe4a15  
    9999    p_sys          = malloc( sizeof( sout_stream_sys_t ) ); 
    100100    p_sys->p_input = vlc_object_find( p_stream, VLC_OBJECT_INPUT, 
    101                                       FIND_ANYWHERE ); 
     101                                      FIND_PARENT ); 
    102102    if( !p_sys->p_input ) 
    103103    {