Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f2fe0dac
Commit
f2fe0dac
authored
Nov 16, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Forgot to commit the paranoia changes in the cddax module. see [17804]
Patch by Patrick McLean <chutzpah at gentoo d0t org>
parent
f793c083
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
modules/access/cdda/access.c
modules/access/cdda/access.c
+5
-5
modules/access/cdda/cdda.h
modules/access/cdda/cdda.h
+5
-4
No files found.
modules/access/cdda/access.c
View file @
f2fe0dac
...
@@ -743,13 +743,13 @@ int CDDAOpen( vlc_object_t *p_this )
...
@@ -743,13 +743,13 @@ int CDDAOpen( vlc_object_t *p_this )
char
*
psz_paranoia
=
config_GetPsz
(
p_access
,
char
*
psz_paranoia
=
config_GetPsz
(
p_access
,
MODULE_STRING
"-paranoia"
);
MODULE_STRING
"-paranoia"
);
p_cdda
->
e_paranoia
=
paranoia_none
;
p_cdda
->
e_paranoia
=
PARANOIA_MODE_DISABLE
;
if
(
psz_paranoia
&&
*
psz_paranoia
)
if
(
psz_paranoia
&&
*
psz_paranoia
)
{
{
if
(
!
strncmp
(
psz_paranoia
,
"full"
,
strlen
(
"full"
)
)
)
if
(
!
strncmp
(
psz_paranoia
,
"full"
,
strlen
(
"full"
)
)
)
p_cdda
->
e_paranoia
=
paranoia_full
;
p_cdda
->
e_paranoia
=
PARANOIA_MODE_FULL
;
else
if
(
!
strncmp
(
psz_paranoia
,
"overlap"
,
strlen
(
"overlap"
))
)
else
if
(
!
strncmp
(
psz_paranoia
,
"overlap"
,
strlen
(
"overlap"
))
)
p_cdda
->
e_paranoia
=
paranoia_overlap
;
p_cdda
->
e_paranoia
=
PARANOIA_MODE_OVERLAP
;
/* Use CD Paranoia? */
/* Use CD Paranoia? */
if
(
p_cdda
->
e_paranoia
)
if
(
p_cdda
->
e_paranoia
)
...
@@ -764,7 +764,7 @@ int CDDAOpen( vlc_object_t *p_this )
...
@@ -764,7 +764,7 @@ int CDDAOpen( vlc_object_t *p_this )
{
{
msg_Warn
(
p_cdda_input
,
"unable to get paranoia support - "
msg_Warn
(
p_cdda_input
,
"unable to get paranoia support - "
"continuing without it."
);
"continuing without it."
);
p_cdda
->
e_paranoia
=
paranoia_none
;
p_cdda
->
e_paranoia
=
PARANOIA_MODE_DISABLE
;
}
}
else
else
{
{
...
@@ -775,7 +775,7 @@ int CDDAOpen( vlc_object_t *p_this )
...
@@ -775,7 +775,7 @@ int CDDAOpen( vlc_object_t *p_this )
/* Set reading mode for full or overlap paranoia,
/* Set reading mode for full or overlap paranoia,
* but allow skipping sectors. */
* but allow skipping sectors. */
cdio_paranoia_modeset
(
p_cdda
->
paranoia
,
cdio_paranoia_modeset
(
p_cdda
->
paranoia
,
paranoia_full
==
p_cdda
->
e_paranoia
?
PARANOIA_MODE_FULL
==
p_cdda
->
e_paranoia
?
PARANOIA_MODE_FULL
^
PARANOIA_MODE_NEVERSKIP
:
PARANOIA_MODE_FULL
^
PARANOIA_MODE_NEVERSKIP
:
PARANOIA_MODE_OVERLAP
^
PARANOIA_MODE_NEVERSKIP
);
PARANOIA_MODE_OVERLAP
^
PARANOIA_MODE_NEVERSKIP
);
}
}
...
...
modules/access/cdda/cdda.h
View file @
f2fe0dac
...
@@ -71,12 +71,13 @@
...
@@ -71,12 +71,13 @@
#define CdIo_t CdIo
#define CdIo_t CdIo
#endif
#endif
#if LIBCDIO_VERSION_NUM < 78
typedef
enum
{
typedef
enum
{
paranoia_none
=
0
,
/* Note: We make use of 0 as being the same as false */
PARANOIA_MODE_DISABLE
=
0x0
0
,
/* Note: We make use of 0 as being the same as false */
paranoia_overlap
=
1
,
PARANOIA_MODE_OVERLAP
=
0x04
,
paranoia_full
=
2
PARANOIA_MODE_FULL
=
0xff
}
paranoia_mode_t
;
}
paranoia_mode_t
;
#endif
/*****************************************************************************
/*****************************************************************************
* cdda_data_t: CD audio information
* cdda_data_t: CD audio information
...
...
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