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
ab82b032
Commit
ab82b032
authored
Jan 21, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: menus fix. Close #2423, #2420, #2419, and #2422.
parent
49476e0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+9
-6
No files found.
modules/gui/qt4/menus.cpp
View file @
ab82b032
...
@@ -495,11 +495,11 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
...
@@ -495,11 +495,11 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
if
(
p_input
)
if
(
p_input
)
vlc_object_hold
(
p_input
);
vlc_object_hold
(
p_input
);
p_aout
=
THEMIM
->
getAout
();
p_aout
=
THEMIM
->
getAout
();
AudioAutoMenuBuilder
(
p_aout
,
p_input
,
objects
,
varnames
);
if
(
p_aout
)
if
(
p_aout
)
{
AudioAutoMenuBuilder
(
p_aout
,
p_input
,
objects
,
varnames
);
vlc_object_release
(
p_aout
);
vlc_object_release
(
p_aout
);
}
if
(
p_input
)
if
(
p_input
)
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
...
@@ -547,12 +547,13 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
...
@@ -547,12 +547,13 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
p_input
=
THEMIM
->
getInput
();
p_input
=
THEMIM
->
getInput
();
if
(
p_input
)
if
(
p_input
)
vlc_object_hold
(
p_input
);
vlc_object_hold
(
p_input
);
p_vout
=
THEMIM
->
getVout
();
VideoAutoMenuBuilder
(
p_vout
,
p_input
,
objects
,
varnames
);
p_vout
=
THEMIM
->
getVout
();
if
(
p_vout
)
if
(
p_vout
)
{
VideoAutoMenuBuilder
(
p_vout
,
p_input
,
objects
,
varnames
);
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_vout
);
}
if
(
p_input
)
if
(
p_input
)
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
...
@@ -585,6 +586,8 @@ QMenu *QVLCMenu::NavigMenu( intf_thread_t *p_intf, QMenu *menu )
...
@@ -585,6 +586,8 @@ QMenu *QVLCMenu::NavigMenu( intf_thread_t *p_intf, QMenu *menu )
vector
<
const
char
*>
varnames
;
vector
<
const
char
*>
varnames
;
p_object
=
THEMIM
->
getInput
();
p_object
=
THEMIM
->
getInput
();
if
(
p_object
)
vlc_object_hold
(
p_object
);
InputAutoMenuBuilder
(
p_object
,
objects
,
varnames
);
InputAutoMenuBuilder
(
p_object
,
objects
,
varnames
);
PUSH_VAR
(
"prev-title"
);
PUSH_VAR
(
"prev-title"
);
PUSH_VAR
(
"next-title"
);
PUSH_VAR
(
"next-title"
);
...
...
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