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
6368b52d
Commit
6368b52d
authored
Feb 13, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4/macosx: fixed the embedded vout setting
parent
343baae5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+2
-1
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+2
-2
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-1
No files found.
modules/gui/macosx/simple_prefs.m
View file @
6368b52d
...
@@ -180,7 +180,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
...
@@ -180,7 +180,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
[
o_intf_meta_ckb
setState
:
config_GetInt
(
p_intf
,
"fetch-meta"
)];
[
o_intf_meta_ckb
setState
:
config_GetInt
(
p_intf
,
"fetch-meta"
)];
[
o_intf_fspanel_ckb
setState
:
config_GetInt
(
p_intf
,
"macosx-fspanel"
)];
[
o_intf_fspanel_ckb
setState
:
config_GetInt
(
p_intf
,
"macosx-fspanel"
)];
[
o_intf_embedded_ckb
setState
:
config_GetInt
(
p_intf
,
"embeded-video"
)];
[
o_intf_embedded_ckb
setState
:
config_GetInt
(
p_intf
,
"embed
d
ed-video"
)];
/******************
/******************
...
@@ -305,6 +305,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
...
@@ -305,6 +305,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
if
(
i_return
==
NSAlertAlternateReturn
)
if
(
i_return
==
NSAlertAlternateReturn
)
{
{
config_ResetAll
(
p_intf
);
config_ResetAll
(
p_intf
);
b_intfSettingChanged
,
b_videoSettingChanged
,
b_audioSettingChanged
=
YES
;
[
self
resetControls
];
[
self
resetControls
];
}
}
}
}
...
...
modules/gui/macosx/vout.m
View file @
6368b52d
...
@@ -749,7 +749,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
...
@@ -749,7 +749,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
{
{
if
(
VLCIntf
&&
!
(
p_vout
->
b_fullscreen
)
&&
if
(
VLCIntf
&&
!
(
p_vout
->
b_fullscreen
)
&&
!
(
var_GetBool
(
p_vout
,
"macosx-background"
))
&&
!
(
var_GetBool
(
p_vout
,
"macosx-background"
))
&&
var_GetBool
(
p_vout
,
"
video-embeded
"
)
)
var_GetBool
(
p_vout
,
"
embedded-video
"
)
)
{
{
o_return
=
[[[
VLCMain
sharedInstance
]
getEmbeddedList
]
o_return
=
[[[
VLCMain
sharedInstance
]
getEmbeddedList
]
getEmbeddedVout
];
getEmbeddedVout
];
...
@@ -1030,7 +1030,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
...
@@ -1030,7 +1030,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
p_real_vout
=
[
VLCVoutView
getRealVout
:
p_vout
];
p_real_vout
=
[
VLCVoutView
getRealVout
:
p_vout
];
i_device
=
var_GetInteger
(
p_real_vout
->
p_libvlc
,
"video-device"
);
i_device
=
var_GetInteger
(
p_real_vout
->
p_libvlc
,
"video-device"
);
b_black
=
NO
;
b_black
=
NO
;
b_embedded
=
var_GetBool
(
p_vout
,
"
video-embeded
"
);
b_embedded
=
var_GetBool
(
p_vout
,
"
embedded-video
"
);
/* Find out on which screen to open the window */
/* Find out on which screen to open the window */
o_screen
=
[
NSScreen
screenWithDisplayID
:
(
CGDirectDisplayID
)
i_device
];
o_screen
=
[
NSScreen
screenWithDisplayID
:
(
CGDirectDisplayID
)
i_device
];
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
6368b52d
...
@@ -451,7 +451,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
...
@@ -451,7 +451,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
updatesDays
->
hide
();
ui
.
updatesDays
->
hide
();
#endif
#endif
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC
(
"qt-always-video"
,
Bool
,
NULL
,
qtAlwaysVideo
);
CONFIG_GENERIC
(
"embeded-video"
,
Bool
,
NULL
,
embedVideo
);
CONFIG_GENERIC
(
"embed
d
ed-video"
,
Bool
,
NULL
,
embedVideo
);
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
CONFIG_GENERIC_FILE
(
"skins2-last"
,
File
,
NULL
,
fileSkin
,
skinBrowse
);
skinBrowse
);
#if defined( WIN32 ) || defined( HAVE_DBUS_3 ) || defined(__APPLE__)
#if defined( WIN32 ) || defined( HAVE_DBUS_3 ) || defined(__APPLE__)
...
...
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