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
86974813
Commit
86974813
authored
Mar 29, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: preserve video-on-op, fix #3469
parent
9b8d88b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+5
-3
No files found.
modules/gui/qt4/menus.cpp
View file @
86974813
...
@@ -219,7 +219,6 @@ static int VideoAutoMenuBuilder( vout_thread_t *p_object,
...
@@ -219,7 +219,6 @@ static int VideoAutoMenuBuilder( vout_thread_t *p_object,
{
{
PUSH_INPUTVAR
(
"video-es"
);
PUSH_INPUTVAR
(
"video-es"
);
PUSH_INPUTVAR
(
"spu-es"
);
PUSH_INPUTVAR
(
"spu-es"
);
#warning This is wrong:
PUSH_VAR
(
"fullscreen"
);
PUSH_VAR
(
"fullscreen"
);
PUSH_VAR
(
"video-on-top"
);
PUSH_VAR
(
"video-on-top"
);
PUSH_VAR
(
"video-wallpaper"
);
PUSH_VAR
(
"video-wallpaper"
);
...
@@ -1464,8 +1463,11 @@ void QVLCMenu::DoAction( QObject *data )
...
@@ -1464,8 +1463,11 @@ void QVLCMenu::DoAction( QObject *data )
vlc_object_t
*
p_object
=
itemData
->
p_obj
;
vlc_object_t
*
p_object
=
itemData
->
p_obj
;
if
(
p_object
==
NULL
)
return
;
if
(
p_object
==
NULL
)
return
;
if
(
!
strcmp
(
itemData
->
psz_var
,
"fullscreen"
)
)
/* Preserve settings across vouts via the playlist object: */
var_Set
(
pl_Get
(
p_object
),
"fullscreen"
,
itemData
->
val
);
if
(
!
strcmp
(
itemData
->
psz_var
,
"fullscreen"
)
||
!
strcmp
(
itemData
->
psz_var
,
"video-on-top"
)
)
var_Set
(
pl_Get
(
p_object
),
itemData
->
psz_var
,
itemData
->
val
);
var_Set
(
p_object
,
itemData
->
psz_var
,
itemData
->
val
);
var_Set
(
p_object
,
itemData
->
psz_var
,
itemData
->
val
);
}
}
...
...
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