Changeset 7d4656d4903875f1f029b1c7f31e70a00d5aabd6
- 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
| r880ce5e |
r7d4656d |
|
| 80 | 80 | was previously part of the mosaic module. |
|---|
| 81 | 81 | * Fix random characters problem in RSS filter. |
|---|
| | 82 | * Add rotate-deciangle for more precision on rotate filter |
|---|
| 82 | 83 | |
|---|
| 83 | 84 | Audio output |
|---|
| … | … | |
| 100 | 101 | interface for media players that intends to become an xdg standard when |
|---|
| 101 | 102 | finished. |
|---|
| | 103 | * Motion module use disk accelerometers to keep video horizontal |
|---|
| 102 | 104 | |
|---|
| 103 | 105 | Capture: |
|---|
| rbf2bdcc |
r7d4656d |
|
| 48 | 48 | { |
|---|
| 49 | 49 | enum { NO_SENSOR, HDAPS_SENSOR, AMS_SENSOR, UNIMOTION_SENSOR } sensor; |
|---|
| | 50 | #ifdef __APPLE__ |
|---|
| 50 | 51 | enum sms_hardware unimotion_hw; |
|---|
| 51 | | |
|---|
| | 52 | #endif |
|---|
| 52 | 53 | int i_calibrate; |
|---|
| 53 | 54 | |
|---|
| … | … | |
| 239 | 240 | { |
|---|
| 240 | 241 | 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 |
|---|
| 243 | 246 | switch( p_intf->p_sys->sensor ) |
|---|
| 244 | 247 | { |
|---|
| … | … | |
| 280 | 283 | return 3600 + asin(d_x)*3600/3.141; |
|---|
| 281 | 284 | } |
|---|
| 282 | | #endif |
|---|
| 283 | 285 | else |
|---|
| 284 | 286 | return 0; |
|---|
| | 287 | #endif |
|---|
| 285 | 288 | default: |
|---|
| 286 | 289 | return 0; |
|---|
| rbf2bdcc |
r7d4656d |
|
| 261 | 261 | return 0; |
|---|
| 262 | 262 | |
|---|
| 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"); |
|---|
| 267 | 267 | xoff = CFPreferencesGetAppIntegerValue(xoffstr, app, &ok); |
|---|
| 268 | 268 | if ( ok ) _x += xoff; |
|---|