Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d865085e
Commit
d865085e
authored
May 18, 2012
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bluray: use meaningful error messages when available.
parent
8f048e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
modules/access/bluray.c
modules/access/bluray.c
+26
-0
No files found.
modules/access/bluray.c
View file @
d865085e
...
...
@@ -234,9 +234,35 @@ static int blurayOpen( vlc_object_t *object )
goto
error
;
}
if
(
!
disc_info
->
aacs_handled
)
{
#ifdef BD_AACS_CORRUPTED_DISC
if
(
disc_info
->
aacs_error_code
)
{
switch
(
disc_info
->
aacs_error_code
)
{
case
BD_AACS_CORRUPTED_DISC
:
error_msg
=
_
(
"BluRay Disc is corrupted."
);
break
;
case
BD_AACS_NO_CONFIG
:
error_msg
=
_
(
"Missing AACS configuration file!"
);
break
;
case
BD_AACS_NO_PK
:
error_msg
=
_
(
"No valid processing key found in AACS config file."
);
break
;
case
BD_AACS_NO_CERT
:
error_msg
=
_
(
"No valid host certificate found in AACS config file."
);
break
;
case
BD_AACS_CERT_REVOKED
:
error_msg
=
_
(
"AACS Host certificate revoked."
);
break
;
case
BD_AACS_MMC_FAILED
:
error_msg
=
_
(
"AACS MMC failed."
);
break
;
}
goto
error
;
}
#else
error_msg
=
_
(
"Your system AACS decoding library does not work. "
"Missing keys?"
);
goto
error
;
#endif
/* BD_AACS_CORRUPTED_DISC */
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment