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
f5932b75
Commit
f5932b75
authored
Jan 25, 2004
by
Carlo Calabrò
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
String Review round one, Mac OS X interface.
parent
59bd8e14
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
103 additions
and
103 deletions
+103
-103
modules/gui/macosx/controls.h
modules/gui/macosx/controls.h
+2
-2
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+15
-15
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+2
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+20
-20
modules/gui/macosx/macosx.m
modules/gui/macosx/macosx.m
+2
-2
modules/gui/macosx/open.h
modules/gui/macosx/open.h
+2
-2
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+10
-10
modules/gui/macosx/output.m
modules/gui/macosx/output.m
+29
-29
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+2
-2
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+5
-5
modules/gui/macosx/prefs.h
modules/gui/macosx/prefs.h
+2
-2
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+8
-8
modules/gui/macosx/vout.h
modules/gui/macosx/vout.h
+2
-2
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+2
-2
No files found.
modules/gui/macosx/controls.h
View file @
f5932b75
/*****************************************************************************
* controls.h: MacOS X interface
plugin
* controls.h: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: controls.h,v 1.
8 2003/12/11 19:34:47 hartman
Exp $
* $Id: controls.h,v 1.
9 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
modules/gui/macosx/controls.m
View file @
f5932b75
/*****************************************************************************
* controls.m: MacOS X interface
plugin
* controls.m: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: controls.m,v 1.
59 2003/12/15 19:25:56 bigben
Exp $
* $Id: controls.m,v 1.
60 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -170,11 +170,11 @@
var_Set
(
p_playlist
,
"random"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Shuffle
On"
)
);
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Random
On"
)
);
}
else
{
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Shuffle
Off"
)
);
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Random
Off"
)
);
}
p_intf
->
p_sys
->
b_playlist_update
=
VLC_TRUE
;
...
...
@@ -198,7 +198,7 @@
var_Set
(
p_playlist
,
"repeat"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"Repeat
On
"
)
);
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"Repeat
All
"
)
);
}
else
{
...
...
@@ -226,11 +226,11 @@
var_Set
(
p_playlist
,
"loop"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Loop On
"
)
);
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Repeat One
"
)
);
}
else
{
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Loop
Off"
)
);
vout_OSDMessage
(
(
vlc_object_t
*
)
p_intf
,
_
(
"
Repeat
Off"
)
);
}
p_intf
->
p_sys
->
b_playlist_update
=
VLC_TRUE
;
...
...
@@ -348,9 +348,9 @@
[
o_window
scaleWindowWithFactor
:
1
.
0
];
else
if
(
[
o_title
isEqualToString
:
_NS
(
"Double Size"
)
]
)
[
o_window
scaleWindowWithFactor
:
2
.
0
];
else
if
(
[
o_title
isEqualToString
:
_NS
(
"Float
O
n Top"
)
]
)
else
if
(
[
o_title
isEqualToString
:
_NS
(
"Float
o
n Top"
)
]
)
[
o_window
toggleFloatOnTop
];
else
if
(
[
o_title
isEqualToString
:
_NS
(
"Fit
T
o Screen"
)
]
)
else
if
(
[
o_title
isEqualToString
:
_NS
(
"Fit
t
o Screen"
)
]
)
{
if
(
!
[
o_window
isZoomed
]
)
[
o_window
performZoom
:
self
];
...
...
@@ -662,21 +662,21 @@
}
}
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"
Shuffle
"
)]
)
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"
Random
"
)]
)
{
int
i_state
;
var_Get
(
p_playlist
,
"random"
,
&
val
);
i_state
=
val
.
b_bool
?
NSOnState
:
NSOffState
;
[
o_mi
setState
:
i_state
];
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Repeat
Item
"
)]
)
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Repeat
One
"
)]
)
{
int
i_state
;
var_Get
(
p_playlist
,
"repeat"
,
&
val
);
i_state
=
val
.
b_bool
?
NSOnState
:
NSOffState
;
[
o_mi
setState
:
i_state
];
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Repeat
Playlist
"
)]
)
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Repeat
All
"
)]
)
{
int
i_state
;
var_Get
(
p_playlist
,
"loop"
,
&
val
);
...
...
@@ -705,15 +705,15 @@
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Half Size"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Normal Size"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Double Size"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Fit
T
o Screen"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Float
O
n Top"
)]
)
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Fit
t
o Screen"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Float
o
n Top"
)]
)
{
id
o_window
;
NSArray
*
o_windows
=
[
NSApp
orderedWindows
];
NSEnumerator
*
o_enumerator
=
[
o_windows
objectEnumerator
];
bEnabled
=
FALSE
;
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Float
O
n Top"
)]
)
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Float
o
n Top"
)]
)
{
int
i_state
=
config_GetInt
(
p_playlist
,
"video-on-top"
)
?
NSOnState
:
NSOffState
;
...
...
modules/gui/macosx/intf.h
View file @
f5932b75
/*****************************************************************************
* intf.h: MacOS X interface
plugin
* intf.h: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: intf.h,v 1.5
5 2004/01/09 22:11:04 hartman
Exp $
* $Id: intf.h,v 1.5
6 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
modules/gui/macosx/intf.m
View file @
f5932b75
/*****************************************************************************
* intf.m: MacOS X interface
plugin
* intf.m: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: intf.m,v 1.11
3 2004/01/09 22:11:04 hartman
Exp $
* $Id: intf.m,v 1.11
4 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -438,7 +438,7 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
-
(
void
)
initStrings
{
[
o_window
setTitle
:
_NS
(
"VLC - Controller"
)];
[
o_scrollfield
setStringValue
:
_NS
(
"VLC
Media P
layer"
)];
[
o_scrollfield
setStringValue
:
_NS
(
"VLC
media p
layer"
)];
/* button controls */
[
o_btn_prev
setToolTip
:
_NS
(
"Previous"
)];
...
...
@@ -485,9 +485,9 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
[
o_mi_slower
setTitle
:
_NS
(
"Slower"
)];
[
o_mi_previous
setTitle
:
_NS
(
"Previous"
)];
[
o_mi_next
setTitle
:
_NS
(
"Next"
)];
[
o_mi_random
setTitle
:
_NS
(
"
Shuffle
"
)];
[
o_mi_repeat
setTitle
:
_NS
(
"Repeat
Item
"
)];
[
o_mi_loop
setTitle
:
_NS
(
"Repeat
Playlist
"
)];
[
o_mi_random
setTitle
:
_NS
(
"
Random
"
)];
[
o_mi_repeat
setTitle
:
_NS
(
"Repeat
One
"
)];
[
o_mi_loop
setTitle
:
_NS
(
"Repeat
All
"
)];
[
o_mi_fwd
setTitle
:
_NS
(
"Step Forward"
)];
[
o_mi_bwd
setTitle
:
_NS
(
"Step Backward"
)];
[
o_mi_program
setTitle
:
_NS
(
"Program"
)];
...
...
@@ -501,12 +501,12 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
[
o_mi_vol_up
setTitle
:
_NS
(
"Volume Up"
)];
[
o_mi_vol_down
setTitle
:
_NS
(
"Volume Down"
)];
[
o_mi_mute
setTitle
:
_NS
(
"Mute"
)];
[
o_mi_audiotrack
setTitle
:
_NS
(
"Audio
t
rack"
)];
[
o_mu_audiotrack
setTitle
:
_NS
(
"Audio
t
rack"
)];
[
o_mi_channels
setTitle
:
_NS
(
"Audio
c
hannels"
)];
[
o_mu_channels
setTitle
:
_NS
(
"Audio
c
hannels"
)];
[
o_mi_device
setTitle
:
_NS
(
"Audio
d
evice"
)];
[
o_mu_device
setTitle
:
_NS
(
"Audio
d
evice"
)];
[
o_mi_audiotrack
setTitle
:
_NS
(
"Audio
T
rack"
)];
[
o_mu_audiotrack
setTitle
:
_NS
(
"Audio
T
rack"
)];
[
o_mi_channels
setTitle
:
_NS
(
"Audio
C
hannels"
)];
[
o_mu_channels
setTitle
:
_NS
(
"Audio
C
hannels"
)];
[
o_mi_device
setTitle
:
_NS
(
"Audio
D
evice"
)];
[
o_mu_device
setTitle
:
_NS
(
"Audio
D
evice"
)];
[
o_mi_visual
setTitle
:
_NS
(
"Visualizations"
)];
[
o_mu_visual
setTitle
:
_NS
(
"Visualizations"
)];
...
...
@@ -514,15 +514,15 @@ unsigned int VLCModifiersToCocoa( unsigned int i_key )
[
o_mi_half_window
setTitle
:
_NS
(
"Half Size"
)];
[
o_mi_normal_window
setTitle
:
_NS
(
"Normal Size"
)];
[
o_mi_double_window
setTitle
:
_NS
(
"Double Size"
)];
[
o_mi_fittoscreen
setTitle
:
_NS
(
"Fit
T
o Screen"
)];
[
o_mi_fittoscreen
setTitle
:
_NS
(
"Fit
t
o Screen"
)];
[
o_mi_fullscreen
setTitle
:
_NS
(
"Fullscreen"
)];
[
o_mi_floatontop
setTitle
:
_NS
(
"Float
O
n Top"
)];
[
o_mi_videotrack
setTitle
:
_NS
(
"Video
t
rack"
)];
[
o_mu_videotrack
setTitle
:
_NS
(
"Video
t
rack"
)];
[
o_mi_screen
setTitle
:
_NS
(
"Video
d
evice"
)];
[
o_mu_screen
setTitle
:
_NS
(
"Video
d
evice"
)];
[
o_mi_subtitle
setTitle
:
_NS
(
"Subtitles
t
rack"
)];
[
o_mu_subtitle
setTitle
:
_NS
(
"Subtitles
t
rack"
)];
[
o_mi_floatontop
setTitle
:
_NS
(
"Float
o
n Top"
)];
[
o_mi_videotrack
setTitle
:
_NS
(
"Video
T
rack"
)];
[
o_mu_videotrack
setTitle
:
_NS
(
"Video
T
rack"
)];
[
o_mi_screen
setTitle
:
_NS
(
"Video
D
evice"
)];
[
o_mu_screen
setTitle
:
_NS
(
"Video
D
evice"
)];
[
o_mi_subtitle
setTitle
:
_NS
(
"Subtitles
T
rack"
)];
[
o_mu_subtitle
setTitle
:
_NS
(
"Subtitles
T
rack"
)];
[
o_mi_deinterlace
setTitle
:
_NS
(
"Deinterlace"
)];
[
o_mu_deinterlace
setTitle
:
_NS
(
"Deinterlace"
)];
...
...
modules/gui/macosx/macosx.m
View file @
f5932b75
/*****************************************************************************
* macosx.m: MacOS X
plugin
for vlc
* macosx.m: MacOS X
module
for vlc
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: macosx.m,v 1.1
6 2003/12/08 19:50:22 gbazin
Exp $
* $Id: macosx.m,v 1.1
7 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Colin Delacroix
<colin
@
zoy
.
org
>
* Eugenio Jarosiewicz
<ej0
@
cise
.
ufl
.
edu
>
...
...
modules/gui/macosx/open.h
View file @
f5932b75
/*****************************************************************************
* open.h: MacOS X
plugin
for vlc
* open.h: MacOS X
module
for vlc
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: open.h,v 1.1
6 2003/10/19 23:12:16 hartman
Exp $
* $Id: open.h,v 1.1
7 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
modules/gui/macosx/open.m
View file @
f5932b75
/*****************************************************************************
* open.m: MacOS X
plugin
for vlc
* open.m: MacOS X
module
for vlc
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: open.m,v 1.4
1 2003/11/06 18:35:19 hartman
Exp $
* $Id: open.m,v 1.4
2 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -464,7 +464,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_videots
=
[
o_disc_videots_folder
stringValue
];
b_menus
=
[
o_disc_dvd_menus
state
];
if
(
[
o_type
isEqualToString
:
_NS
(
"VCD"
)
]
)
if
(
[
o_type
isEqualToString
:
@"VCD"
]
)
{
if
(
[
o_device
isEqualToString
:
[
NSString
stringWithFormat
:
_NS
(
"No %@s found"
),
o_type
]]
)
...
...
@@ -480,7 +480,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_mrl_string
=
[
NSString
stringWithFormat
:
@"cdda://%@"
,
o_device
];
}
else
if
(
[
o_type
isEqualToString
:
_NS
(
"DVD"
)
]
)
else
if
(
[
o_type
isEqualToString
:
@"DVD"
]
)
{
if
(
[
o_device
isEqualToString
:
[
NSString
stringWithFormat
:
_NS
(
"No %@s found"
),
o_type
]]
)
...
...
@@ -539,9 +539,9 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_mode
=
[[
o_net_mode
selectedCell
]
title
];
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP"
)
]
)
b_udp
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP Multicast"
)
]
)
b_udpm
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP/FTP/MMS"
)
]
)
b_http
=
TRUE
;
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP"
]
)
b_udp
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP Multicast"
]
)
b_udpm
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
@"HTTP/FTP/MMS"
]
)
b_http
=
TRUE
;
[
o_net_udp_port
setEnabled
:
b_udp
];
[
o_net_udp_port_stp
setEnabled
:
b_udp
];
...
...
@@ -577,7 +577,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_mode
=
[[
o_net_mode
selectedCell
]
title
];
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP"
)
]
)
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP"
]
)
{
int
i_port
=
[
o_net_udp_port
intValue
];
...
...
@@ -589,7 +589,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
[
o_mrl_string
stringByAppendingFormat
:
@"@:%i"
,
i_port
];
}
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP Multicast"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP Multicast"
]
)
{
NSString
*
o_addr
=
[
o_net_udpm_addr
stringValue
];
int
i_port
=
[
o_net_udpm_port
intValue
];
...
...
@@ -602,7 +602,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
[
o_mrl_string
stringByAppendingFormat
:
@":%i"
,
i_port
];
}
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP/FTP/MMS"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"HTTP/FTP/MMS"
]
)
{
NSString
*
o_url
=
[
o_net_http_url
stringValue
];
...
...
modules/gui/macosx/output.m
View file @
f5932b75
...
...
@@ -2,7 +2,7 @@
* output.m: MacOS X Output Dialog
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: output.m,v 1.1
7 2003/12/11 16:00:09 hartman
Exp $
* $Id: output.m,v 1.1
8 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -135,11 +135,11 @@
[
o_btn_browse
setTitle
:
_NS
(
"Browse..."
)];
[
o_stream_address_lbl
setStringValue
:
_NS
(
"Address"
)];
[
o_stream_port_lbl
setStringValue
:
_NS
(
"Port"
)];
[
o_stream_ttl_lbl
setStringValue
:
_NS
(
"TTL"
)
];
[[
o_stream_type
itemAtIndex
:
0
]
setTitle
:
_NS
(
"HTTP"
)
];
[[
o_stream_type
itemAtIndex
:
1
]
setTitle
:
_NS
(
"MMSH"
)
];
[[
o_stream_type
itemAtIndex
:
2
]
setTitle
:
_NS
(
"UDP"
)
];
[[
o_stream_type
itemAtIndex
:
3
]
setTitle
:
_NS
(
"RTP"
)
];
[
o_stream_ttl_lbl
setStringValue
:
@"TTL"
];
[[
o_stream_type
itemAtIndex
:
0
]
setTitle
:
@"HTTP"
];
[[
o_stream_type
itemAtIndex
:
1
]
setTitle
:
@"MMSH"
];
[[
o_stream_type
itemAtIndex
:
2
]
setTitle
:
@"UDP"
];
[[
o_stream_type
itemAtIndex
:
3
]
setTitle
:
@"RTP"
];
[
o_stream_type_lbl
setStringValue
:
_NS
(
"Type"
)];
[
o_mux_lbl
setStringValue
:
_NS
(
"Encapsulation Method"
)];
...
...
@@ -238,7 +238,7 @@
o_mode
=
[
o_stream_type
titleOfSelectedItem
];
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP"
)
]
)
if
(
[
o_mode
isEqualToString
:
@"HTTP"
]
)
{
[
o_stream_address
setEnabled
:
YES
];
[
o_stream_ttl
setEnabled
:
NO
];
...
...
@@ -251,7 +251,7 @@
[[
o_mux_selector
itemAtIndex
:
6
]
setEnabled
:
NO
];
[[
o_mux_selector
itemAtIndex
:
7
]
setEnabled
:
NO
];
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"MMSH"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"MMSH"
]
)
{
[
o_stream_address
setEnabled
:
YES
];
[
o_stream_ttl
setEnabled
:
NO
];
...
...
@@ -265,7 +265,7 @@
[[
o_mux_selector
itemAtIndex
:
6
]
setEnabled
:
NO
];
[[
o_mux_selector
itemAtIndex
:
7
]
setEnabled
:
NO
];
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"UDP"
]
)
{
[
o_stream_address
setEnabled
:
YES
];
[
o_stream_ttl
setEnabled
:
YES
];
...
...
@@ -281,7 +281,7 @@
[
o_slp_chkbox
setEnabled
:
YES
];
[
o_channel_name
setEnabled
:
YES
];
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"RTP"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"RTP"
]
)
{
[
o_stream_address
setEnabled
:
YES
];
[
o_stream_ttl
setEnabled
:
YES
];
...
...
@@ -316,13 +316,13 @@
o_mode
=
[[
o_method
selectedCell
]
title
];
o_mux
=
[
o_mux_selector
titleOfSelectedItem
];
if
(
[
o_mux
isEqualToString
:
_NS
(
"AVI"
)
]
)
o_mux_string
=
@"avi"
;
else
if
(
[
o_mux
isEqualToString
:
_NS
(
"Ogg"
)
]
)
o_mux_string
=
@"ogg"
;
else
if
(
[
o_mux
isEqualToString
:
_NS
(
"MPEG PS"
)
]
)
o_mux_string
=
@"ps"
;
else
if
(
[
o_mux
isEqualToString
:
_NS
(
"MPEG 4"
)
]
)
o_mux_string
=
@"mp4"
;
else
if
(
[
o_mux
isEqualToString
:
_NS
(
"MPEG 1"
)
]
)
o_mux_string
=
@"mpeg1"
;
else
if
(
[
o_mux
isEqualToString
:
_NS
(
"Quicktime"
)
]
)
o_mux_string
=
@"mov"
;
else
if
(
[
o_mux
isEqualToString
:
_NS
(
"ASF"
)
]
)
o_mux_string
=
@"asf"
;
if
(
[
o_mux
isEqualToString
:
@"AVI"
]
)
o_mux_string
=
@"avi"
;
else
if
(
[
o_mux
isEqualToString
:
@"Ogg"
]
)
o_mux_string
=
@"ogg"
;
else
if
(
[
o_mux
isEqualToString
:
@"MPEG PS"
]
)
o_mux_string
=
@"ps"
;
else
if
(
[
o_mux
isEqualToString
:
@"MPEG 4"
]
)
o_mux_string
=
@"mp4"
;
else
if
(
[
o_mux
isEqualToString
:
@"MPEG 1"
]
)
o_mux_string
=
@"mpeg1"
;
else
if
(
[
o_mux
isEqualToString
:
@"Quicktime"
]
)
o_mux_string
=
@"mov"
;
else
if
(
[
o_mux
isEqualToString
:
@"ASF"
]
)
o_mux_string
=
@"asf"
;
else
o_mux_string
=
@"ts"
;
if
(
[
o_mode
isEqualToString
:
_NS
(
"File"
)]
)
...
...
@@ -347,14 +347,14 @@
o_mode
=
[
o_stream_type
titleOfSelectedItem
];
o_announce
=
@""
;
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP"
)
]
)
if
(
[
o_mode
isEqualToString
:
@"HTTP"
]
)
o_mode
=
@"http"
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"MMSH"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"MMSH"
]
)
{
if
(
[
o_mux
isEqualToString
:
_NS
(
"ASF"
)
]
)
o_mux_string
=
@"asfh"
;
if
(
[
o_mux
isEqualToString
:
@"ASF"
]
)
o_mux_string
=
@"asfh"
;
o_mode
=
@"mmsh"
;
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"UDP"
]
)
{
o_mode
=
@"udp"
;
if
(
[
o_sap_chkbox
state
]
==
NSOnState
)
...
...
@@ -373,7 +373,7 @@
o_announce
=
[
o_announce
stringByAppendingString
:
@",slp"
];
}
}
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"RTP"
)
]
)
else
if
(
[
o_mode
isEqualToString
:
@"RTP"
]
)
o_mode
=
@"rtp"
;
[
o_mrl_string
appendFormat
:
...
...
@@ -398,19 +398,19 @@
{
NSSavePanel
*
o_save_panel
=
[
NSSavePanel
savePanel
];
NSString
*
o_mux_string
;
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"MPEG PS"
)
]
)
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"MPEG PS"
]
)
o_mux_string
=
@"vob"
;
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"MPEG 1"
)
]
)
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"MPEG 1"
]
)
o_mux_string
=
@"mpg"
;
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"AVI"
)
]
)
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"AVI"
]
)
o_mux_string
=
@"avi"
;
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"ASF"
)
]
)
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"ASF"
]
)
o_mux_string
=
@"asf"
;
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"Ogg"
)
]
)
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"Ogg"
]
)
o_mux_string
=
@"ogm"
;
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"MPEG 4"
)
]
)
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"MPEG 4"
]
)
o_mux_string
=
@"mp4"
;
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
_NS
(
"Quicktime"
)
]
)
else
if
(
[[
o_mux_selector
titleOfSelectedItem
]
isEqualToString
:
@"Quicktime"
]
)
o_mux_string
=
@"mov"
;
else
o_mux_string
=
@"ts"
;
...
...
modules/gui/macosx/playlist.h
View file @
f5932b75
/*****************************************************************************
* playlist.h: MacOS X interface
plugin
* playlist.h: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: playlist.h,v 1.
19 2004/01/15 23:59:21 bigben
Exp $
* $Id: playlist.h,v 1.
20 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <hartman at videolan dot org>
...
...
modules/gui/macosx/playlist.m
View file @
f5932b75
/*****************************************************************************
* playlist.m: MacOS X interface
plugin
* playlist.m: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2002-2004 VideoLAN
* $Id: playlist.m,v 1.5
4 2004/01/20 15:34:43 hartman
Exp $
* $Id: playlist.m,v 1.5
5 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <hartman at videolan dot org>
...
...
@@ -169,9 +169,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
[[
o_tc_name
headerCell
]
setStringValue
:
_NS
(
"Name"
)];
[[
o_tc_author
headerCell
]
setStringValue
:
_NS
(
"Author"
)];
[[
o_tc_duration
headerCell
]
setStringValue
:
_NS
(
"Duration"
)];
[
o_random_ckb
setTitle
:
_NS
(
"
Shuffle
"
)];
[
o_loop_ckb
setTitle
:
_NS
(
"Repeat
Playlist
"
)];
[
o_repeat_ckb
setTitle
:
_NS
(
"Repeat
Item
"
)];
[
o_random_ckb
setTitle
:
_NS
(
"
Random
"
)];
[
o_loop_ckb
setTitle
:
_NS
(
"Repeat
All
"
)];
[
o_repeat_ckb
setTitle
:
_NS
(
"Repeat
One
"
)];
[
o_search_button
setTitle
:
_NS
(
"Search"
)];
[
o_btn_playlist
setToolTip
:
_NS
(
"Playlist"
)];
}
...
...
modules/gui/macosx/prefs.h
View file @
f5932b75
/*****************************************************************************
* prefs.h: MacOS X
plugin
for vlc
* prefs.h: MacOS X
module
for vlc
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: prefs.h,v 1.1
2 2003/11/11 23:50:41 hartman
Exp $
* $Id: prefs.h,v 1.1
3 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
...
...
modules/gui/macosx/prefs.m
View file @
f5932b75
/*****************************************************************************
* prefs.m: MacOS X
plugin
for vlc
* prefs.m: MacOS X
module
for vlc
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: prefs.m,v 1.3
6 2003/12/22 14:32:56 sam
Exp $
* $Id: prefs.m,v 1.3
7 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj at users.sf.net>
...
...
@@ -204,7 +204,7 @@
{
NSBeginInformationalAlertSheet
(
_NS
(
"Reset Preferences"
),
_NS
(
"Cancel"
),
_NS
(
"Continue"
),
nil
,
o_prefs_window
,
self
,
@selector
(
sheetDidEnd
:
returnCode
:
contextInfo
:
),
NULL
,
nil
,
_NS
(
"Beware this will reset your VLC
Media Player config file
.
\n
"
_NS
(
"Beware this will reset your VLC
media player preferences
.
\n
"
"Are you sure you want to continue?"
)
);
}
...
...
@@ -892,7 +892,7 @@ static VLCTreeItem *o_root_item = nil;
module_config_t
*
p_item
;
int
i_index
,
j
;
/* List the
plugin
s */
/* List the
module
s */
p_list
=
vlc_list_find
(
p_intf
,
VLC_OBJECT_MODULE
,
FIND_ANYWHERE
);
if
(
!
p_list
)
return
nil
;
...
...
@@ -909,7 +909,7 @@ static VLCTreeItem *o_root_item = nil;
}
if
(
p_module
==
NULL
)
{
msg_Err
(
p_intf
,
"
Could not find the main module in our pref
s"
);
msg_Err
(
p_intf
,
"
could not find the main module in our preference
s"
);
return
nil
;
}
if
(
i_index
<
p_list
->
i_count
)
...
...
@@ -936,7 +936,7 @@ static VLCTreeItem *o_root_item = nil;
}
while
(
p_item
->
i_type
!=
CONFIG_HINT_END
&&
p_item
++
);
/* Add the
plugin
s item */
/* Add the
module
s item */
[
o_children
addObject
:[[
VLCTreeItem
alloc
]
initWithName
:
_NS
(
"Modules"
)
ID:
0
parent
:
self
]];
}
...
...
@@ -957,7 +957,7 @@ static VLCTreeItem *o_root_item = nil;
if
(
!
strcmp
(
p_module
->
psz_object_name
,
"main"
)
)
continue
;
/* Exclude empty
plugin
s */
/* Exclude empty
module
s */
p_item
=
p_module
->
p_config
;
if
(
!
p_item
)
continue
;
do
...
...
@@ -1027,7 +1027,7 @@ static VLCTreeItem *o_root_item = nil;
if
(
!
strcmp
(
p_module
->
psz_object_name
,
"main"
)
)
continue
;
/* Exclude empty
plugin
s */
/* Exclude empty
module
s */
p_item
=
p_module
->
p_config
;
if
(
!
p_item
)
continue
;
do
...
...
modules/gui/macosx/vout.h
View file @
f5932b75
/*****************************************************************************
* vout.h: MacOS X interface
plugin
* vout.h: MacOS X interface
module
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.h,v 1.1
6 2003/11/15 22:42:16 hartman
Exp $
* $Id: vout.h,v 1.1
7 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
modules/gui/macosx/vout.m
View file @
f5932b75
/*****************************************************************************
* vout.m: MacOS X video output
plugin
* vout.m: MacOS X video output
module
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.6
8 2003/12/22 17:08:22 bigben
Exp $
* $Id: vout.m,v 1.6
9 2004/01/25 17:01:57 murray
Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
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