Changeset d06be22f8d23480e13129b312850a6c0caa3deee
- Timestamp:
- 21/02/08 16:55:23
(8 months ago)
- Author:
- Damien Fouilleul <damienf@videolan.org>
- git-committer:
- Damien Fouilleul <damienf@videolan.org> 1203609323 +0000
- git-parent:
[60a6411034db029a61b2c8cdc1d2a201143f2200]
- git-author:
- Damien Fouilleul <damienf@videolan.org> 1203609323 +0000
- Message:
libmp4: removed the 'France' option, who cares ?
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r99fab90 |
rd06be22 |
|
| 2056 | 2056 | if( p_drms_box && p_drms_box->data.p_sample_soun->p_drms ) |
|---|
| 2057 | 2057 | { |
|---|
| 2058 | | int i_ret; |
|---|
| 2059 | | if( config_GetInt( p_stream, "france" ) ) |
|---|
| 2060 | | { |
|---|
| 2061 | | i_ret = -7; |
|---|
| 2062 | | } |
|---|
| 2063 | | else |
|---|
| 2064 | | { |
|---|
| 2065 | | i_ret= drms_init( p_drms_box->data.p_sample_soun->p_drms, |
|---|
| | 2058 | int i_ret = drms_init( p_drms_box->data.p_sample_soun->p_drms, |
|---|
| 2066 | 2059 | p_box->i_type, p_peek, i_read ); |
|---|
| 2067 | | } |
|---|
| 2068 | 2060 | if( i_ret ) |
|---|
| 2069 | 2061 | { |
|---|
| … | … | |
| 2078 | 2070 | case -5: psz_error = "no user key found in SCI data"; break; |
|---|
| 2079 | 2071 | case -6: psz_error = "invalid user key"; break; |
|---|
| 2080 | | case -7: psz_error = "you live in France"; break; |
|---|
| 2081 | 2072 | default: psz_error = "unknown error"; break; |
|---|
| 2082 | 2073 | } |
|---|
| r6cf432c |
rd06be22 |
|
| 521 | 521 | "subsystem, such as the DVD or VCD device, the network interface " \ |
|---|
| 522 | 522 | "settings or the subtitle channel.") |
|---|
| 523 | | |
|---|
| 524 | | #define FRANCE_LONGTEXT N_( \ |
|---|
| 525 | | "If you live in France, it is not allowed to workaround any Digital " \ |
|---|
| 526 | | "Restrictions Management measure." ) |
|---|
| 527 | 523 | |
|---|
| 528 | 524 | #define CR_AVERAGE_TEXT N_("Clock reference average counter") |
|---|
| … | … | |
| 1586 | 1582 | set_category( CAT_INPUT ); |
|---|
| 1587 | 1583 | set_subcategory( SUBCAT_INPUT_GENERAL ); |
|---|
| 1588 | | |
|---|
| 1589 | | add_bool( "france", VLC_FALSE, NULL, N_("France"), FRANCE_LONGTEXT, VLC_TRUE ); |
|---|
| 1590 | 1584 | |
|---|
| 1591 | 1585 | set_section( N_( "Track settings" ), NULL ); |
|---|