Changeset 6bf818a2c35c0fbdfc4f3bbf8d8a45a873198ce7

Show
Ignore:
Timestamp:
11/02/07 02:51:45 (2 years ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1171158705 +0000
git-parent:

[8d46123c64f777f918e12d8afd059f16089e34ba]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1171158705 +0000
Message:

Fix #675.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_filter/logo.c

    rae6af36 r6bf818a  
    451451        } 
    452452    } 
     453    else 
     454    { 
     455        p_sys->pos = 0; 
     456    } 
    453457 
    454458    /* Try to open the real video output */ 
     
    555559                        p_pic->p[Y_PLANE].i_visible_lines; 
    556560 
    557             /* Just in case the new image would overflow the vout */ 
    558             if( (unsigned int)(p_sys->posy + p_sys->i_height) 
    559                                                 > p_vout->render.i_height 
    560              || (unsigned int)(p_sys->posx + p_sys->i_width) 
    561                                                 > p_vout->render.i_width 
    562              || p_sys->pos ) 
     561            if( p_sys->pos ) 
    563562            { 
    564563                if( p_sys->pos & SUBPICTURE_ALIGN_BOTTOM ) 
     
    570569                    p_sys->posy = p_vout->render.i_height/2 - p_sys->i_height/2; 
    571570                } 
    572  
    573571                if( p_sys->pos & SUBPICTURE_ALIGN_RIGHT ) 
    574572                {