Changeset cd2efd35efee7ecc7554bccedfec858d06b04020

Show
Ignore:
Timestamp:
02/25/08 10:22:34 (6 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1203931354 +0000
git-parent:

[f90b88ab5852ddaf8f3a11d67df0370c8641fb70]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1203931354 +0000
Message:

Fixed another crash with fullscreen in mozilla toolbar.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/mozilla/vlcshell.cpp

    rf90b88a rcd2efd3  
    10001000        if( (i_yPos > (i_height-30)) && (i_xPos >= 67) && (i_xPos < 94) ) 
    10011001        { 
     1002            int i_playing; 
    10021003            libvlc_exception_init( &ex ); 
    1003             libvlc_set_fullscreen( p_md, 1, &ex ); 
     1004            i_playing = libvlc_playlist_isplaying( p_plugin->getVLC(), &ex ); 
    10041005            libvlc_exception_clear( &ex ); 
     1006 
     1007            if( i_playing == 1 ) 
     1008            { 
     1009                libvlc_exception_init( &ex ); 
     1010                libvlc_set_fullscreen( p_md, 1, &ex ); 
     1011                libvlc_exception_clear( &ex ); 
     1012            } 
    10051013        } 
    10061014