Changeset 3690


Ignore:
Timestamp:
Aug 9, 2011 3:31:40 AM (13 years ago)
Author:
ming
Message:

Re #1324: Fixed compilation error on iPhone OS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/ios_dev.m

    r3664 r3690  
    491491        UIWindow *window = [[UIApplication sharedApplication] keyWindow]; 
    492492         
    493         if (param->flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW && param->window) 
    494             window = (UIWindow *)param->window; 
     493        if (param->flags & PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW && 
     494            param->window.info.ios.window) 
     495            window = (UIWindow *)param->window.info.ios.window; 
    495496         
    496497        pj_assert(window); 
Note: See TracChangeset for help on using the changeset viewer.