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
eb18d00c
Commit
eb18d00c
authored
Jun 17, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all options enabled by "true" or "yes" can now also be enabled by using "1".
fixes #211
parent
66006c64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mozilla/vlcshell.cpp
mozilla/vlcshell.cpp
+4
-4
No files found.
mozilla/vlcshell.cpp
View file @
eb18d00c
...
...
@@ -336,7 +336,7 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
{
if
(
!
strcmp
(
argn
[
i
],
"loop"
)
)
{
if
(
!
strcmp
(
argv
[
i
],
"yes"
)
)
if
(
!
strcmp
(
argv
[
i
],
"
1"
)
||
!
strcmp
(
argv
[
i
],
"
yes"
)
)
{
value
.
b_bool
=
VLC_TRUE
;
VLC_VariableSet
(
p_plugin
->
i_vlc
,
"conf::loop"
,
value
);
...
...
@@ -387,7 +387,7 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
}
else
if
(
!
strcmp
(
argn
[
i
],
"autoplay"
)
)
{
if
(
!
strcmp
(
argv
[
i
],
"yes"
)
)
if
(
!
strcmp
(
argv
[
i
],
"
1"
)
||
!
strcmp
(
argv
[
i
],
"
yes"
)
)
{
p_plugin
->
b_autoplay
=
1
;
}
...
...
@@ -411,7 +411,7 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
#if USE_LIBVLC
else
if
(
!
strcmp
(
argn
[
i
],
"fullscreen"
)
)
{
if
(
!
strcmp
(
argv
[
i
],
"yes"
)
)
if
(
!
strcmp
(
argv
[
i
],
"
1"
)
||
!
strcmp
(
argv
[
i
],
"
yes"
)
)
{
value
.
b_bool
=
VLC_TRUE
;
VLC_VariableSet
(
p_plugin
->
i_vlc
,
"conf::fullscreen"
,
value
);
...
...
@@ -419,7 +419,7 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
}
else
if
(
!
strcmp
(
argn
[
i
],
"mute"
)
)
{
if
(
!
strcmp
(
argv
[
i
],
"yes"
)
)
if
(
!
strcmp
(
argv
[
i
],
"
1"
)
||
!
strcmp
(
argv
[
i
],
"
yes"
)
)
{
VLC_VolumeMute
(
p_plugin
->
i_vlc
);
}
...
...
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