Changeset 4053


Ignore:
Timestamp:
Apr 16, 2012 5:22:18 AM (8 years ago)
Author:
ming
Message:

Re #1446 (misc): Revert r4035 which resizes renderer if format does not change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r4036 r4053  
    837837{ 
    838838    pj_status_t status; 
    839  
    840     if (new_fmt->id == strm->param.fmt.id) { 
    841         SDL_SetWindowSize(strm->window, new_fmt->det.vid.size.w, 
    842                           new_fmt->det.vid.size.h); 
    843         return resize_disp(strm, &new_fmt->det.vid.size); 
    844     } 
    845839 
    846840    /* Recreate SDL renderer */ 
Note: See TracChangeset for help on using the changeset viewer.