Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
9204240c
Commit
9204240c
authored
Sep 03, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* save playback styles on Macs as well
parent
c03721fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+7
-1
No files found.
modules/gui/macosx/controls.m
View file @
9204240c
...
@@ -161,10 +161,12 @@
...
@@ -161,10 +161,12 @@
if
(
val
.
b_bool
)
if
(
val
.
b_bool
)
{
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Random On"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Random On"
)
);
config_PutInt
(
p_playlist
,
"random"
,
1
);
}
}
else
else
{
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Random Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Random Off"
)
);
config_PutInt
(
p_playlist
,
"random"
,
0
);
}
}
p_intf
->
p_sys
->
b_playmode_update
=
VLC_TRUE
;
p_intf
->
p_sys
->
b_playmode_update
=
VLC_TRUE
;
...
@@ -193,12 +195,14 @@
...
@@ -193,12 +195,14 @@
if
(
val
.
b_bool
)
if
(
val
.
b_bool
)
{
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat One"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat One"
)
);
config_PutInt
(
p_playlist
,
"repeat"
,
1
);
}
}
else
else
{
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
config_PutInt
(
p_playlist
,
"repeat"
,
0
);
}
}
p_intf
->
p_sys
->
b_playmode_update
=
VLC_TRUE
;
p_intf
->
p_sys
->
b_playmode_update
=
VLC_TRUE
;
p_intf
->
p_sys
->
b_intf_update
=
VLC_TRUE
;
p_intf
->
p_sys
->
b_intf_update
=
VLC_TRUE
;
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
...
@@ -225,10 +229,12 @@
...
@@ -225,10 +229,12 @@
if
(
val
.
b_bool
)
if
(
val
.
b_bool
)
{
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat All"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat All"
)
);
config_PutInt
(
p_playlist
,
"loop"
,
1
);
}
}
else
else
{
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
config_PutInt
(
p_playlist
,
"loop"
,
0
);
}
}
p_intf
->
p_sys
->
b_playmode_update
=
VLC_TRUE
;
p_intf
->
p_sys
->
b_playmode_update
=
VLC_TRUE
;
...
...
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