Changeset d2aa472ee162b6c81403b90a4eb0b3e44fc778a9

Show
Ignore:
Timestamp:
06/30/08 21:39:44 (2 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1214854784 +0300
git-parent:

[674ccb48ec8ccda0e077a6e6ec423cf02a69a160]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1214854748 +0300
Message:

Suxor thread: cleanup

Why call vlc_thread_ready when the other side does not wait anyway...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/video_output/video_output.c

    r674ccb4 rd2aa472  
    14141414static void SuxorRestartVideoES( suxor_thread_t *p_this ) 
    14151415{ 
    1416     vlc_value_t val; 
    1417  
    1418     vlc_thread_ready( p_this ); 
    1419  
    14201416    /* Now restart current video stream */ 
    1421     var_Get( p_this->p_input, "video-es", &val ); 
    1422     if( val.i_int >= 0 ) 
    1423     { 
    1424         vlc_value_t val_es; 
    1425         val_es.i_int = -VIDEO_ES; 
    1426         var_Set( p_this->p_input, "video-es", val_es ); 
    1427         var_Set( p_this->p_input, "video-es", val ); 
     1417    int val = var_GetInteger( p_this->p_input, "video-es" ); 
     1418    if( val >= 0 ) 
     1419    { 
     1420        var_SetInteger( p_this->p_input, "video-es", -VIDEO_ES ); 
     1421        var_SetInteger( p_this->p_input, "video-es", val ); 
    14281422    } 
    14291423