Changeset 7d4656d4903875f1f029b1c7f31e70a00d5aabd6

Show
Ignore:
Timestamp:
06/20/07 22:42:24 (1 year ago)
Author:
Jérome Decoodt <djc@videolan.org>
git-committer:
Jérome Decoodt <djc@videolan.org> 1182372144 +0000
git-parent:

[bf2bdccad3f2bcca29d4b102005e6ff1b3a8ccc0]

git-author:
Jérome Decoodt <djc@videolan.org> 1182372144 +0000
Message:

Should fix compilation
Add some news

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • NEWS

    r880ce5e r7d4656d  
    8080   was previously part of the mosaic module. 
    8181 * Fix random characters problem in RSS filter. 
     82 * Add rotate-deciangle for more precision on rotate filter 
    8283 
    8384Audio output 
     
    100101     interface for media players that intends to become an xdg standard when  
    101102     finished. 
     103   * Motion module use disk accelerometers to keep video horizontal 
    102104 
    103105Capture: 
  • modules/control/motion.c

    rbf2bdcc r7d4656d  
    4848{ 
    4949    enum { NO_SENSOR, HDAPS_SENSOR, AMS_SENSOR, UNIMOTION_SENSOR } sensor; 
     50#ifdef __APPLE__ 
    5051    enum sms_hardware unimotion_hw; 
    51  
     52#endif 
    5253    int i_calibrate; 
    5354 
     
    239240{ 
    240241    FILE *f; 
    241     int i_x, i_y, i_z; 
    242  
     242    int i_x, i_y; 
     243#ifdef __APPLE__ 
     244    int i_z; 
     245#endif 
    243246    switch( p_intf->p_sys->sensor ) 
    244247    { 
     
    280283                return 3600 + asin(d_x)*3600/3.141; 
    281284        } 
    282 #endif 
    283285        else 
    284286            return 0; 
     287#endif 
    285288    default: 
    286289        return 0; 
  • modules/control/unimotion.c

    rbf2bdcc r7d4656d  
    261261        return 0; 
    262262 
    263     static CFStringRef app = CFSTR("com.ramsayl.UniMotion"); 
    264     static CFStringRef xoffstr = CFSTR("x_offset"); 
    265     static CFStringRef yoffstr = CFSTR("y_offset"); 
    266     static CFStringRef zoffstr = CFSTR("z_offset"); 
     263    CFStringRef app = CFSTR("com.ramsayl.UniMotion"); 
     264    CFStringRef xoffstr = CFSTR("x_offset"); 
     265    CFStringRef yoffstr = CFSTR("y_offset"); 
     266    CFStringRef zoffstr = CFSTR("z_offset"); 
    267267    xoff = CFPreferencesGetAppIntegerValue(xoffstr, app, &ok); 
    268268    if ( ok ) _x += xoff;