Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
6cf432c2
Commit
6cf432c2
authored
Feb 20, 2008
by
damienf
Browse files
MacOSX: fix macosx-embedded -> embedded-video migration
parent
954ff1ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/simple_prefs.m
View file @
6cf432c2
...
...
@@ -335,7 +335,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
config_PutInt
(
p_intf
,
"fetch-meta"
,
[
o_intf_meta_ckb
state
]
);
config_PutInt
(
p_intf
,
"macosx-fspanel"
,
[
o_intf_fspanel_ckb
state
]
);
config_PutInt
(
p_intf
,
"
video-
embeded"
,
[
o_intf_embedded_ckb
state
]
);
config_PutInt
(
p_intf
,
"embed
d
ed
-video
"
,
[
o_intf_embedded_ckb
state
]
);
/* okay, let's save our changes to vlcrc */
i
=
config_SaveConfigFile
(
p_intf
,
"main"
);
...
...
modules/gui/macosx/vout.m
View file @
6cf432c2
...
...
@@ -722,7 +722,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
var_Create
(
p_vout
,
"macosx-opaqueness"
,
VLC_VAR_FLOAT
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_vout
,
"macosx-background"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_vout
,
"macosx-black"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_vout
,
"embedded-video"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
/* We only wait for NSApp to initialise if we're not embedded (as in the
* case of the Mozilla plugin). We can tell whether we're embedded or not
...
...
src/libvlc-module.c
View file @
6cf432c2
...
...
@@ -1467,6 +1467,9 @@ vlc_module_begin();
change_short
(
'f'
);
add_bool
(
"embedded-video"
,
1
,
NULL
,
EMBEDDED_TEXT
,
EMBEDDED_LONGTEXT
,
VLC_TRUE
);
#ifdef __APPLE__
add_deprecated_alias
(
"macosx-embedded"
);
/*deprecated since 0.9.0 */
#endif
add_bool
(
"drop-late-frames"
,
1
,
NULL
,
DROP_LATE_FRAMES_TEXT
,
DROP_LATE_FRAMES_LONGTEXT
,
VLC_TRUE
);
/* Used in vout_synchro */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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