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
a256154f
Commit
a256154f
authored
Nov 28, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set default DVD defice
parent
2cb8ab43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
include/vlc_config.h
include/vlc_config.h
+6
-4
src/libvlc-module.c
src/libvlc-module.c
+1
-1
No files found.
include/vlc_config.h
View file @
a256154f
...
@@ -87,12 +87,14 @@
...
@@ -87,12 +87,14 @@
/* DVD and VCD devices */
/* DVD and VCD devices */
#if !defined( WIN32 ) && !defined( UNDER_CE )
#if !defined( WIN32 ) && !defined( UNDER_CE )
# define
VCD_DEVICE "/
dev/cdrom"
# define
CD_DEVICE "
dev/cdrom"
# define
CDAUDIO_DEVICE "/dev/cdrom
"
# define
DVD_DEVICE "/dev/dvd
"
#else
#else
# define
VCD_DEVICE
"D:"
# define
CD_DEVICE
"D:"
# define
CDAUDIO_DEVICE "D:"
# define
DVD_DEVICE CD_DEVICE
#endif
#endif
#define VCD_DEVICE CD_DEVICE
#define CDAUDIO_DEVICE CD_DEVICE
/*****************************************************************************
/*****************************************************************************
* Audio configuration
* Audio configuration
...
...
src/libvlc-module.c
View file @
a256154f
...
@@ -1613,7 +1613,7 @@ vlc_module_begin();
...
@@ -1613,7 +1613,7 @@ vlc_module_begin();
set_section
(
N_
(
"Default devices"
)
,
NULL
);
set_section
(
N_
(
"Default devices"
)
,
NULL
);
add_file
(
"dvd"
,
NULL
,
NULL
,
DVD_DEV_TEXT
,
DVD_DEV_LONGTEXT
,
add_file
(
"dvd"
,
DVD_DEVICE
,
NULL
,
DVD_DEV_TEXT
,
DVD_DEV_LONGTEXT
,
VLC_FALSE
);
VLC_FALSE
);
add_file
(
"vcd"
,
VCD_DEVICE
,
NULL
,
VCD_DEV_TEXT
,
VCD_DEV_LONGTEXT
,
add_file
(
"vcd"
,
VCD_DEVICE
,
NULL
,
VCD_DEV_TEXT
,
VCD_DEV_LONGTEXT
,
VLC_FALSE
);
VLC_FALSE
);
...
...
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