Lines 1789-1796
Link Here
|
1789 |
"playing scrambled DVDs."), 20, NULL, NULL); |
1789 |
"playing scrambled DVDs."), 20, NULL, NULL); |
1790 |
xine_setenv("DVDCSS_METHOD", decrypt_modes[mode], 0); |
1790 |
xine_setenv("DVDCSS_METHOD", decrypt_modes[mode], 0); |
1791 |
|
1791 |
|
1792 |
css_cache_default = (char *)malloc(strlen(xine_get_homedir()) + 10); |
1792 |
char *xine_tmp_dir; |
1793 |
sprintf(css_cache_default, "%s/.dvdcss/", xine_get_homedir()); |
1793 |
xine_tmp_dir = getenv("TMPDIR"); |
|
|
1794 |
css_cache_default = (char *)malloc(strlen(xine_tmp_dir) + 10); |
1795 |
sprintf(css_cache_default, "%s/dvdcss/", xine_tmp_dir); |
1794 |
css_cache = config->register_string(config, "media.dvd.css_cache_path", css_cache_default, |
1796 |
css_cache = config->register_string(config, "media.dvd.css_cache_path", css_cache_default, |
1795 |
_("path to the title key cache"), |
1797 |
_("path to the title key cache"), |
1796 |
_("Since cracking the copy protection of scrambled DVDs can " |
1798 |
_("Since cracking the copy protection of scrambled DVDs can " |