summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index e26ba22e60..746cdcbf9b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -613,6 +613,13 @@ if(vcd_track){
f=open(filename,O_RDONLY);
if(f<0){ printf("File not found: '%s'\n",filename);return 1; }
#ifdef HAVE_LIBCSS
+ if (dvdimportkey) {
+ if (dvd_import_key(dvdimportkey)) {
+ fprintf(stderr,"Error processing DVD KEY.\n");
+ exit(1);
+ }
+ printf("DVD command line requested key is stored for descrambling.\n");
+ }
if (dvd_device) {
if (dvd_auth(dvd_device,f)) exit(0);
printf("DVD auth sequence seems to be OK.\n");