Changeset 3825


Ignore:
Timestamp:
Oct 18, 2011 6:51:34 AM (12 years ago)
Author:
bennylp
Message:

Fixed compilation error in pjsua_app introduced by r3819 if video is not enabled (re #1390)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r3819 r3825  
    28322832            on_call_video_state(&call_info, mi, &has_error); 
    28332833            break; 
     2834        default: 
     2835            /* Make gcc happy about enum not handled by switch/case */ 
     2836            break; 
    28342837        } 
    28352838    } 
     
    31993202              pjmedia_fourcc_name(event->type, event_name))); 
    32003203 
     3204#if PJSUA_HAS_VIDEO 
    32013205    if (event->type == PJMEDIA_EVENT_FMT_CHANGED) { 
    32023206        /* Adjust renderer window size to original video size */ 
     
    32153219        } 
    32163220    } 
     3221#endif 
    32173222} 
    32183223 
Note: See TracChangeset for help on using the changeset viewer.