Changeset 725 for trunk/core/gui.c


Ignore:
Timestamp:
03/19/09 21:50:54 (4 years ago)
Author:
EWAVR
Message:

SX10 1.01A: added video quality control (w/o bitrate)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/gui.c

    r723 r725  
    514514#if CAM_CHDK_HAS_EXT_VIDEO_MENU 
    515515          {0x23,LANG_MENU_VIDEO_MODE,              MENUITEM_ENUM,    (int*)gui_video_mode_enum},  
     516#if !VIDEO_QUALITY_ONLY 
    516517      {0x5e,LANG_MENU_VIDEO_BITRATE,           MENUITEM_ENUM,    (int*)gui_video_bitrate_enum},  
     518#endif 
    517519      {0x60,LANG_MENU_VIDEO_QUALITY,           MENUITEM_INT|MENUITEM_F_UNSIGNED|MENUITEM_F_MINMAX,  &conf.video_quality, MENU_MINMAX(1, 99)},  
    518520      {0x5c,LANG_MENU_CLEAR_VIDEO_VALUES,    MENUITEM_BOOL,    (int*)&conf.clear_video}, 
     
    14771479} 
    14781480const char* gui_video_mode_enum(int change, int arg) { 
     1481#if !VIDEO_QUALITY_ONLY 
    14791482    static const char* modes[]={ "Bitrate", "Quality"}; 
    1480  
     1483#else 
     1484    static const char* modes[]={ "Default", "Quality"}; 
     1485#endif 
    14811486    conf.video_mode+=change; 
    14821487    if (conf.video_mode<0) 
Note: See TracChangeset for help on using the changeset viewer.