Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ab21bfce
Commit
ab21bfce
authored
Apr 18, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix refcount bug
parent
11bfb464
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/wxwidgets/menus.cpp
modules/gui/wxwidgets/menus.cpp
+6
-2
No files found.
modules/gui/wxwidgets/menus.cpp
View file @
ab21bfce
...
@@ -272,8 +272,8 @@ int IntfAutoMenuBuilder( intf_thread_t *p_intf,
...
@@ -272,8 +272,8 @@ int IntfAutoMenuBuilder( intf_thread_t *p_intf,
void
VideoPopupMenu
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_parent
,
void
VideoPopupMenu
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_parent
,
const
wxPoint
&
pos
)
const
wxPoint
&
pos
)
{
{
POPUP_BOILERPLATE
;
POPUP_BOILERPLATE
;
if
(
p_input
)
if
(
p_input
)
{
{
vlc_object_yield
(
p_input
);
vlc_object_yield
(
p_input
);
as_varnames
.
push_back
(
"video-es"
);
as_varnames
.
push_back
(
"video-es"
);
...
@@ -289,6 +289,7 @@ void VideoPopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
...
@@ -289,6 +289,7 @@ void VideoPopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
}
}
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
vlc_object_release
(
p_playlist
);
CREATE_POPUP
;
CREATE_POPUP
;
}
}
...
@@ -310,6 +311,7 @@ void AudioPopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
...
@@ -310,6 +311,7 @@ void AudioPopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
}
}
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
vlc_object_release
(
p_playlist
);
CREATE_POPUP
;
CREATE_POPUP
;
}
}
...
@@ -338,6 +340,7 @@ void MiscPopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
...
@@ -338,6 +340,7 @@ void MiscPopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
p_intf
->
p_sys
->
p_popup_menu
=
&
popupmenu
;
p_intf
->
p_sys
->
p_popup_menu
=
&
popupmenu
;
p_parent
->
PopupMenu
(
&
popupmenu
,
pos
.
x
,
pos
.
y
);
p_parent
->
PopupMenu
(
&
popupmenu
,
pos
.
x
,
pos
.
y
);
p_intf
->
p_sys
->
p_popup_menu
=
NULL
;
p_intf
->
p_sys
->
p_popup_menu
=
NULL
;
vlc_object_release
(
p_playlist
);
}
}
void
PopupMenu
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_parent
,
void
PopupMenu
(
intf_thread_t
*
p_intf
,
wxWindow
*
p_parent
,
...
@@ -393,6 +396,7 @@ void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
...
@@ -393,6 +396,7 @@ void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
p_intf
->
p_sys
->
p_popup_menu
=
&
popupmenu
;
p_intf
->
p_sys
->
p_popup_menu
=
&
popupmenu
;
p_parent
->
PopupMenu
(
&
popupmenu
,
pos
.
x
,
pos
.
y
);
p_parent
->
PopupMenu
(
&
popupmenu
,
pos
.
x
,
pos
.
y
);
p_intf
->
p_sys
->
p_popup_menu
=
NULL
;
p_intf
->
p_sys
->
p_popup_menu
=
NULL
;
vlc_object_release
(
p_playlist
);
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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