Changeset 773c6cd4e5ab885df1a5f66120cfc0c6cdbef6fd
- Timestamp:
- 12/15/07 17:05:45
(9 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1197734745 +0000
- git-parent:
[8912cc8ca8b20500c3c5410ad8c18cd370615275]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1197734745 +0000
- Message:
Conceal unsaveable and renamed options as well
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7b55830 |
r773c6cd |
|
| 802 | 802 | for (unsigned i = 0, j = 0; i < size; i++) |
|---|
| 803 | 803 | { |
|---|
| 804 | | if (module->p_config[i].b_internal) |
|---|
| | 804 | const module_config_t *item = module->p_config + i; |
|---|
| | 805 | if (item->b_internal /* internal option */ |
|---|
| | 806 | || item->b_unsaveable /* non-modifiable option */ |
|---|
| | 807 | || item->psz_current /* deprecated option name */) |
|---|
| 805 | 808 | continue; |
|---|
| 806 | 809 | |
|---|
| 807 | 810 | if (config != NULL) |
|---|
| 808 | | memcpy (config + j, module->p_config + i, sizeof (*config)); |
|---|
| | 811 | memcpy (config + j, item, sizeof (*config)); |
|---|
| 809 | 812 | *psize = j; |
|---|
| 810 | 813 | j++; |
|---|