Changeset e96eb7449739f3c49beab70ce4cd366193cd69af

Show
Ignore:
Timestamp:
25/01/08 20:49:45 (9 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1201290585 +0000
git-parent:

[c28d3216e9fe9df4631f2c1f0306711c63a9823e]

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

Fix scaling of subpicture in fb video_output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_output/fb.c

    rc28d321 re96eb74  
    484484    I_OUTPUTPICTURES = 0; 
    485485 
     486    p_vout->fmt_out = p_vout->fmt_in; 
    486487    if( p_sys->i_chroma == 0 ) 
    487488    { 
     
    527528        p_vout->render.i_height = p_sys->i_height; 
    528529    } 
    529     p_vout->output.i_width  = p_sys->i_width; 
    530     p_vout->output.i_height = p_sys->i_height; 
     530    p_vout->output.i_width  = p_vout->fmt_out.i_width = p_sys->i_width; 
     531    p_vout->output.i_height = p_vout->fmt_out.i_height = p_sys->i_height; 
    531532 
    532533    /* Assume we have square pixels */ 
     
    540541    p_vout->fmt_out.i_sar_num = p_vout->fmt_out.i_sar_den = 1; 
    541542    p_vout->fmt_out.i_aspect  = p_vout->render.i_aspect = p_vout->output.i_aspect; 
     543    p_vout->fmt_out.i_x_offset= p_vout->fmt_out.i_y_offset = 0; 
    542544 
    543545    /* Clear the screen */