Changeset 14275baf39c03cdb75faf38ba25ed1d31191609c
- Timestamp:
- 14/01/07 13:40:05
(2 years ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1168778405 +0000
- git-parent:
[41fc10b74fd7f26526ddabd72673bec7fa658d4c]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1168778405 +0000
- Message:
* design change: the current volume is automatically stored on quit now and restored on first playback of the next run, similar to other major media players (closes #989)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra7d57cd |
r14275ba |
|
| 1529 | 1529 | playlist_t * p_playlist; |
|---|
| 1530 | 1530 | vout_thread_t * p_vout; |
|---|
| | 1531 | int returnedValue = 0; |
|---|
| 1531 | 1532 | |
|---|
| 1532 | 1533 | #define p_input p_intf->p_sys->p_input |
|---|
| … | … | |
| 1555 | 1556 | } |
|---|
| 1556 | 1557 | msleep( 500000 ); |
|---|
| | 1558 | |
|---|
| | 1559 | /* make sure that the current volume is saved */ |
|---|
| | 1560 | config_PutInt( p_intf->p_libvlc, "volume", i_lastShownVolume ); |
|---|
| | 1561 | returnedValue = config_SaveConfigFile( p_intf->p_libvlc, "main" ); |
|---|
| | 1562 | if( returnedValue != 0 ) |
|---|
| | 1563 | msg_Err( p_intf, |
|---|
| | 1564 | "error while saving volume in osx's terminate method (%i)", |
|---|
| | 1565 | returnedValue ); |
|---|
| 1557 | 1566 | |
|---|
| 1558 | 1567 | /* save the prefs if they were changed in the extended panel */ |
|---|