Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2241aa22
Commit
2241aa22
authored
Aug 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move disc defaults to libvlc-module.c, fix Windows VCD and CD long text
parent
9adb17b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
26 deletions
+30
-26
include/vlc_config.h
include/vlc_config.h
+0
-16
src/libvlc-module.c
src/libvlc-module.c
+30
-10
No files found.
include/vlc_config.h
View file @
2241aa22
...
...
@@ -78,22 +78,6 @@
* mark it to be presented */
#define DEFAULT_PTS_DELAY (3*CLOCK_FREQ/10)
/* DVD and VCD devices */
#if !defined( WIN32 ) && !defined( UNDER_CE )
#if defined(__OpenBSD__)
# define CD_DEVICE "/dev/cd0c"
# define DVD_DEVICE "/dev/cd0c"
#else
# define CD_DEVICE "/dev/cdrom"
# define DVD_DEVICE "/dev/dvd"
#endif
#else
# define CD_DEVICE "D:"
# define DVD_DEVICE NULL
#endif
#define VCD_DEVICE CD_DEVICE
#define CDAUDIO_DEVICE CD_DEVICE
/*****************************************************************************
* Audio configuration
*****************************************************************************/
...
...
src/libvlc-module.c
View file @
2241aa22
...
...
@@ -843,24 +843,44 @@ static const char *const ppsz_clock_descriptions[] =
"Load this subtitle file. To be used when autodetect cannot detect " \
"your subtitle file.")
/* DVD and VCD devices */
#define DVD_DEV_TEXT N_("DVD device")
#define VCD_DEV_TEXT N_("VCD device")
#define CDAUDIO_DEV_TEXT N_("Audio CD device")
#ifdef WIN32
#define DVD_DEV_LONGTEXT N_( \
#
define DVD_DEV_LONGTEXT N_( \
"This is the default DVD drive (or file) to use. Don't forget the colon " \
"after the drive letter (eg. D:)")
"after the drive letter (e.g. D:)")
# define VCD_DEV_LONGTEXT N_( \
"This is the default VCD drive (or file) to use. Don't forget the colon " \
"after the drive letter (e.g. D:)")
# define CDAUDIO_DEV_LONGTEXT N_( \
"This is the default Audio CD drive (or file) to use. Don't forget the " \
"colon after the drive letter (e.g. D:)")
# define DVD_DEVICE NULL
# define CD_DEVICE "D:"
#else
#define DVD_DEV_LONGTEXT N_( \
#
define DVD_DEV_LONGTEXT N_( \
"This is the default DVD device to use.")
#endif
#define VCD_DEV_TEXT N_("VCD device")
#define VCD_DEV_LONGTEXT N_( \
# define VCD_DEV_LONGTEXT N_( \
"This is the default VCD device to use." )
#define CDAUDIO_DEV_TEXT N_("Audio CD device")
#define CDAUDIO_DEV_LONGTEXT N_( \
# define CDAUDIO_DEV_LONGTEXT N_( \
"This is the default Audio CD device to use." )
# if defined(__OpenBSD__)
# define DVD_DEVICE "/dev/cd0c"
# define CD_DEVICE "/dev/cd0c"
# else
# define DVD_DEVICE "/dev/dvd"
# define CD_DEVICE "/dev/cdrom"
# endif
#endif
#define VCD_DEVICE CD_DEVICE
#define CDAUDIO_DEVICE CD_DEVICE
#define IPV6_TEXT N_("Force IPv6")
#define IPV6_LONGTEXT N_( \
"IPv6 will be used by default for all connections.")
...
...
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