Changeset 457


Ignore:
Timestamp:
07/25/08 14:47:49 (5 years ago)
Author:
phyrephox
Message:
  • renamed CHDK.CFG to CCHDK.CFG ("collaborative CHDK") to end conflicts when you switch from branch to trunk or vice versa.
  • fixed bug in "fast switch" for movie recording, now you can decrease bitrate smoothly
  • when bitrate is changed, calculation process is restarted so you can see the changes in bitrate way better now (bug: display has to be redrawn somehow, also the workaround via the global var movie_reset isnt really beautiful, my whole code isnt beautiful, to be exact :D)
  • changed symbols
  • updated german.lng

thx to the users in the german chdk forum (msl, gehtnix) for bugreporting, testing

also this is a test if tortoise svn still fails on me when committing.

Location:
branches/juciphox
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/juciphox/core/conf.c

    r453 r457  
    1414 
    1515//------------------------------------------------------------------- 
    16 #define CONF_FILE  "A/CHDK/CHDK.CFG" 
     16#define CONF_FILE  "A/CHDK/CCHDK.CFG" 
    1717#define CONF_MAGICK_VALUE (0x33204741) 
    1818 
  • branches/juciphox/core/gui.c

    r453 r457  
    196196static CMenuItem remote_submenu_items[] = { 
    197197    {0x0,LANG_MENU_SCRIPT,                    MENUITEM_SEPARATOR }, 
    198     {0x5c,LANG_MENU_SCRIPT_REMOTE_ENABLE,     MENUITEM_BOOL,                    &conf.remote_enable},     
     198    {0x71,LANG_MENU_SCRIPT_REMOTE_ENABLE,     MENUITEM_BOOL,                    &conf.remote_enable},     
    199199    {0x0,LANG_MENU_SCRIPTLESS,                MENUITEM_SEPARATOR }, 
    200         {0x5c,LANG_MENU_REMOTE_ENABLE,            MENUITEM_BOOL,                    &conf.ricoh_ca1_mode            },     
     200        {0x71,LANG_MENU_REMOTE_ENABLE,            MENUITEM_BOOL,                    &conf.ricoh_ca1_mode            },     
    201201    {0x5c,LANG_MENU_SYNCH_ENABLE,             MENUITEM_BOOL,                    &conf.synch_enable              },     
    202202    {0x5c,LANG_MENU_SYNCH_DELAY_ENABLE,       MENUITEM_BOOL,                    &conf.synch_delay_enable        },     
  • branches/juciphox/core/gui_osd.c

    r451 r457  
    915915unsigned int hour=0, min=0, sec=0; 
    916916  
    917  
     917if (movie_reset == 1) 
     918        { 
     919                init = 0; 
     920                movie_reset = 0; 
     921        } 
    918922    if (movie_status > 1) record_running = 1; 
    919923    else  
     
    939943    sec = (time_left % 3600) % 60; 
    940944     
    941        if (elapsed<5) 
     945       if (elapsed<1) 
    942946   { 
    943947  sprintf(osd_buf, "Calc..."); 
     
    946950     
    947951   if (--skipcalls ==0) {  
    948     if (elapsed>5) 
     952    if (elapsed>1) 
    949953     { 
    950954     if (conf.show_movie_time == 3){ 
  • branches/juciphox/core/kbd.c

    r453 r457  
    12261226        conf.video_bitrate=sizeof(modes)/sizeof(modes[0])-1; 
    12271227    shooting_video_bitrate_change(conf.video_bitrate); 
    1228                          
     1228movie_reset = 1; 
    12291229                         
    12301230            key_pressed = KEY_UP; 
     
    12601260    if (conf.video_bitrate<0) 
    12611261        conf.video_bitrate=0; 
    1262     else if (conf.video_bitrate>=(sizeof(modes)/sizeof(modes[0]))) 
    1263         conf.video_bitrate=0; 
     1262 
    12641263 
    12651264    shooting_video_bitrate_change(conf.video_bitrate); 
    1266  
    1267     return modes[conf.video_bitrate]; 
     1265movie_reset = 1; 
     1266 
    12681267                         
    12691268                         
  • branches/juciphox/include/platform.h

    r453 r457  
    479479 
    480480extern int movie_status; 
     481unsigned int movie_reset; 
    481482unsigned int GetFreeCardSpaceKb(void); 
    482483unsigned int GetTotalCardSpaceKb(void); 
  • branches/juciphox/lang/german.lng

    r453 r457  
    213213149 "   Drücke MENU zum Verlassen    " 
    214214150 "Farbe" 
    215 151 "Mit %s Farbe auswaählen" 
     215151 "Mit %s Farbe auswählen" 
    216216 
    217217//  Reversi 
     
    333333243 "Ersetze ISO-Wert" 
    334334244 "    Multiplikator" 
    335 245 "Ersetze Subj.-Distanz" 
     335245 "Ersetze Motiv-Distanz" 
    336336246 "    Multiplikator (mm)" 
    337337 
     
    349349//  Skriptsteuerung 
    350350256 "Autostart" 
    351 257 "Fernsteuerung (USB)" 
     351257 "USB-Fernbedienung an/aus" 
    352352 
    353353258 "Beli-Kontrolle (Blitz aus)" 
     
    421421308 "Einheit der Warnung" 
    422422309 "Untergrenze Warnung" 
     423 
     424// Video 
    423425310 "opt. Zoom aktivieren" 
    424426 
     
    455457334 "Menü zentriert" 
    456458 
     459// Video 
    457460335 "Zoomgeräusche abschalten"  
    458461 
     
    476479349 "Lösche Einstellungen bei Start?" 
    477480 
     481// Ev-Korrektur 
    478482350 "schneller Ev-Wechsel?" 
    479483351 "    Schrittweite (1 EV)?" 
    480 352 "EV-Korrektur" 
    481  
     484352 "Ev-Korrektur" 
     485 
     486// RAW-Löschen-Diaöog 
    482487353 "Sicher, dass Sie ALLE RAW-Dateien\nim DCIM-Ordner ohne dazugehörige JPG\nlöschen wollen?" 
    483488354 "Sicher, dass Sie ALLE RAW-Dateien\nim ausgew. Ordner ohne dazugehörige JPG\nlöschen wollen?" 
     
    487492358 "Lösche RAW" 
    488493  
     494// Menü 
    489495359 "Benutzermenü als Hauptmenü" 
    490496 
     
    510516374 "    Überlagerungsfarbe" 
    511517 
    512 // Fernsteuerung 
    513 375 "Fernsteuerung-Parameter" 
    514 376 "Fernsteuerung-Parameter" 
    515 377 "Fernsteuerung an/aus" 
     518// Fernbedienung 
     519375 "USB-Fernbedienung-Parameter" 
     520376 "USB-Fernbedienung-Parameter" 
     521377 "USB-Fernbedienung an/aus" 
    516522378 "Synchro an/aus" 
    517523379 "Synchro Verzögerung an/aus" 
     
    519525381 "    Verzögerung 0.1s" 
    520526 
     527// Video 
    521528382 "AF Taste" 
    522529 
     
    533540390 "RAW-Ausnahmen" 
    534541391 "Warnung bei Ausnahme?" 
     542 
     543// Menü 
    535544392 "Erste Zeile selektiert?" 
    536 393 "script" 
    537 394 "scriptless" 
     545 
     546// Fernbedienung 
     547393 "mit Skript" 
     548394 "ohne Skript" 
     549 
     550// Video 
    538551395 "Schnelle Video Kontrolle?" 
Note: See TracChangeset for help on using the changeset viewer.