Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
92938451
Commit
92938451
authored
Jun 06, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* access2: added shortcuts for vcd/svcd.
parent
41625283
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
modules/access/access2.c
modules/access/access2.c
+2
-0
modules/access/cdda.c
modules/access/cdda.c
+1
-1
modules/access/vcd/vcd.c
modules/access/vcd/vcd.c
+2
-1
No files found.
modules/access/access2.c
View file @
92938451
...
@@ -67,6 +67,8 @@ vlc_module_begin();
...
@@ -67,6 +67,8 @@ vlc_module_begin();
add_shortcut
(
"vcd"
);
add_shortcut
(
"vcd"
);
add_shortcut
(
"svcd"
);
add_shortcut
(
"svcd"
);
add_shortcut
(
"v4l"
);
vlc_module_end
();
vlc_module_end
();
/*****************************************************************************
/*****************************************************************************
...
...
modules/access/cdda.c
View file @
92938451
...
@@ -112,7 +112,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -112,7 +112,7 @@ static int Open( vlc_object_t *p_this )
free
(
psz_dup
);
free
(
psz_dup
);
/* Only when selected */
/* Only when selected */
if
(
*
p_access
->
psz_access
==
'\0'
)
if
(
strcmp
(
p_access
->
psz_access
,
"cdda"
)
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
...
modules/access/vcd/vcd.c
View file @
92938451
...
@@ -110,7 +110,8 @@ static int Open( vlc_object_t *p_this )
...
@@ -110,7 +110,8 @@ static int Open( vlc_object_t *p_this )
free
(
psz_dup
);
free
(
psz_dup
);
/* Only when selected */
/* Only when selected */
if
(
*
p_access
->
psz_access
==
'\0'
)
if
(
strcmp
(
p_access
->
psz_access
,
"vcd"
)
&&
strcmp
(
p_access
->
psz_access
,
"svcd"
)
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
psz_dup
=
var_CreateGetString
(
p_access
,
"vcd"
);
psz_dup
=
var_CreateGetString
(
p_access
,
"vcd"
);
...
...
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