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
5c939db2
Commit
5c939db2
authored
Jan 28, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access/access_demux: check psz_access rather than b_force
parent
20431e3b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
modules/access/cdda.c
modules/access/cdda.c
+2
-1
modules/access/dvdnav.c
modules/access/dvdnav.c
+2
-1
modules/access/dvdread.c
modules/access/dvdread.c
+2
-1
No files found.
modules/access/cdda.c
View file @
5c939db2
...
...
@@ -142,7 +142,8 @@ static int Open( vlc_object_t *p_this )
if
(
!
p_access
->
psz_path
||
!*
p_access
->
psz_path
)
{
/* Only when selected */
if
(
!
p_this
->
b_force
)
return
VLC_EGENERIC
;
if
(
!
p_access
->
psz_access
||
!*
p_access
->
psz_access
)
return
VLC_EGENERIC
;
psz_name
=
var_CreateGetString
(
p_this
,
"cd-audio"
);
if
(
!
psz_name
||
!*
psz_name
)
...
...
modules/access/dvdnav.c
View file @
5c939db2
...
...
@@ -183,7 +183,8 @@ static int Open( vlc_object_t *p_this )
if
(
!
p_demux
->
psz_path
||
!*
p_demux
->
psz_path
)
{
/* Only when selected */
if
(
!
p_this
->
b_force
)
return
VLC_EGENERIC
;
if
(
!
p_demux
->
psz_access
||
!*
p_demux
->
psz_access
)
return
VLC_EGENERIC
;
psz_name
=
var_CreateGetString
(
p_this
,
"dvd"
);
if
(
!
psz_name
)
...
...
modules/access/dvdread.c
View file @
5c939db2
...
...
@@ -204,7 +204,8 @@ static int Open( vlc_object_t *p_this )
if
(
!
p_demux
->
psz_path
||
!*
p_demux
->
psz_path
)
{
/* Only when selected */
if
(
!
p_this
->
b_force
)
return
VLC_EGENERIC
;
if
(
!
p_demux
->
psz_access
||
!*
p_demux
->
psz_access
)
return
VLC_EGENERIC
;
psz_name
=
var_CreateGetString
(
p_this
,
"dvd"
);
if
(
!
psz_name
)
...
...
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