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
2a937a32
Commit
2a937a32
authored
Jun 10, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* backport of [11397] and [11396]
parent
0a76af8e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
15 deletions
+24
-15
THANKS
THANKS
+2
-1
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+2
-2
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+1
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+17
-11
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+1
-0
src/libvlc.h
src/libvlc.h
+1
-1
No files found.
THANKS
View file @
2a937a32
...
...
@@ -24,8 +24,9 @@ Brieuc Jeunhomme <bbp at via.ecp.fr> - bug fixes
Bruno Vella <allevb at tin.it> - Italian localization
Carlo Calabr <murray at via.ecp.fr> - Italian localization
Carsten Gottbeht <gottbehuet at active-elements dot de> - v4l hotplug fix
Chris Clepper - OpenGL fix
Christof Baumgaertner - dbox web intf
Christophe Mutricy <xtophe at nxtelevision dot com>- many fixes (preferences, M3U, ...)
Christophe Mutricy <xtophe at nxtelevision dot com>
- many fixes (preferences, M3U, ...)
Christopher Johnson <cjohnson at mint.net> - Qt fix in vlc.spec
Colin Simmonds <colin_simmonds at Mac.lover.org> - compile fix for Mac OS X
Damian Ivereigh <damian at cisco.com> - ac3dec uninitialized data structure fix
...
...
modules/gui/macosx/controls.m
View file @
2a937a32
...
...
@@ -155,7 +155,7 @@
var_Set
(
p_playlist
,
"repeat"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat
All
"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat
One
"
)
);
}
else
{
...
...
@@ -187,7 +187,7 @@
var_Set
(
p_playlist
,
"loop"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat
One
"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat
All
"
)
);
}
else
{
...
...
modules/gui/macosx/intf.h
View file @
2a937a32
...
...
@@ -70,6 +70,7 @@ struct intf_sys_t
vlc_bool_t
b_playmode_update
;
vlc_bool_t
b_current_title_update
;
vlc_bool_t
b_fullscreen_update
;
vlc_bool_t
b_volume_update
;
/* menus handlers */
vlc_bool_t
b_input_update
;
...
...
modules/gui/macosx/intf.m
View file @
2a937a32
...
...
@@ -817,6 +817,9 @@ static VLCMain *_o_sharedMainInstance = nil;
}
#undef p_input
/* Manage volume status */
[
self
manageVolumeSlider
];
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
o_sleep_date
=
[
NSDate
dateWithTimeIntervalSinceNow
:
.
1
];
...
...
@@ -972,6 +975,19 @@ static VLCMain *_o_sharedMainInstance = nil;
(
int
)
(
i_seconds
%
60
)];
[
o_timefield
setStringValue
:
o_time
];
}
if
(
p_intf
->
p_sys
->
b_volume_update
)
{
NSString
*
o_text
;
o_text
=
[
NSString
stringWithFormat
:
_NS
(
"Volume: %d"
),
i_lastShownVolume
*
200
/
AOUT_VOLUME_MAX
];
if
(
i_lastShownVolume
!=
-
1
)
[
self
setScrollField
:
o_text
stopAfter
:
1000000
];
[
o_volumeslider
setFloatValue
:
(
float
)
i_lastShownVolume
/
AOUT_VOLUME_STEP
];
[
o_volumeslider
setEnabled
:
TRUE
];
p_intf
->
p_sys
->
b_mute
=
(
i_lastShownVolume
==
0
);
p_intf
->
p_sys
->
b_volume_update
=
FALSE
;
}
/* Manage Playing status */
var_Get
(
p_input
,
"state"
,
&
val
);
...
...
@@ -996,8 +1012,6 @@ static VLCMain *_o_sharedMainInstance = nil;
if
(
(
i_end_scroll
!=
-
1
)
&&
(
mdate
()
>
i_end_scroll
)
)
[
self
resetScrollField
];
/* Manage volume status */
[
self
manageVolumeSlider
];
[
NSTimer
scheduledTimerWithTimeInterval
:
0
.
3
target:
self
selector
:
@selector
(
manageIntf
:
)
...
...
@@ -1233,17 +1247,9 @@ static VLCMain *_o_sharedMainInstance = nil;
if
(
i_volume
!=
i_lastShownVolume
)
{
NSString
*
o_text
;
o_text
=
[
NSString
stringWithFormat
:
_NS
(
"Volume: %d"
),
i_volume
*
200
/
AOUT_VOLUME_MAX
];
if
(
i_lastShownVolume
!=
-
1
)
[
self
setScrollField
:
o_text
stopAfter
:
1000000
];
[
o_volumeslider
setFloatValue
:
(
float
)
i_volume
/
AOUT_VOLUME_STEP
];
[
o_volumeslider
setEnabled
:
TRUE
];
i_lastShownVolume
=
i_volume
;
p_intf
->
p_sys
->
b_volume_update
=
TRUE
;
}
p_intf
->
p_sys
->
b_mute
=
(
i_volume
==
0
);
}
-
(
IBAction
)
timesliderUpdate
:(
id
)
sender
...
...
modules/gui/macosx/playlist.m
View file @
2a937a32
...
...
@@ -243,6 +243,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
#if 0
[o_search_button setTitle: _NS("Search")];
#endif
[
o_search_field
setToolTip
:
_NS
(
"Search in Playlist"
)];
[[
o_loop_popup
itemAtIndex
:
0
]
setTitle
:
_NS
(
"Standard Play"
)];
[[
o_loop_popup
itemAtIndex
:
1
]
setTitle
:
_NS
(
"Repeat One"
)];
[[
o_loop_popup
itemAtIndex
:
2
]
setTitle
:
_NS
(
"Repeat All"
)];
...
...
src/libvlc.h
View file @
2a937a32
...
...
@@ -1340,7 +1340,7 @@ vlc_module_begin();
# define KEY_QUIT KEY_MODIFIER_COMMAND|'q'
# define KEY_VOL_UP KEY_MODIFIER_COMMAND|KEY_UP
# define KEY_VOL_DOWN KEY_MODIFIER_COMMAND|KEY_DOWN
# define KEY_VOL_MUTE KEY_MODIFIER_COMMAND|KEY_MODIFIER_
SHIFT|'m'
# define KEY_VOL_MUTE KEY_MODIFIER_COMMAND|KEY_MODIFIER_
ALT|KEY_DOWN
# define KEY_SUBDELAY_UP 'j'
# define KEY_SUBDELAY_DOWN 'h'
# define KEY_AUDIODELAY_UP 'g'
...
...
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