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
a88c1a09
Commit
a88c1a09
authored
Jun 05, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/interface/interface.c, modules/gui/wxwindows/video.cpp: couple of fixes.
parent
788a3c84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+4
-0
src/interface/interface.c
src/interface/interface.c
+3
-3
No files found.
modules/gui/wxwindows/video.cpp
View file @
a88c1a09
...
...
@@ -128,11 +128,15 @@ VideoWindow::~VideoWindow()
if
(
p_vout
)
{
if
(
!
p_intf
->
psz_switch_intf
)
{
if
(
vout_Control
(
p_vout
,
VOUT_CLOSE
)
!=
VLC_SUCCESS
)
vout_Control
(
p_vout
,
VOUT_REPARENT
);
}
else
{
if
(
vout_Control
(
p_vout
,
VOUT_REPARENT
)
!=
VLC_SUCCESS
)
vout_Control
(
p_vout
,
VOUT_CLOSE
);
}
}
p_intf
->
pf_request_window
=
NULL
;
...
...
src/interface/interface.c
View file @
a88c1a09
...
...
@@ -316,13 +316,13 @@ static void RunInterface( intf_thread_t *p_intf )
break
;
}
/* Make sure the old interface is completely uninitialized */
module_Unneed
(
p_intf
,
p_intf
->
p_module
);
/* Provide ability to switch the main interface on the fly */
psz_intf
=
p_intf
->
psz_switch_intf
;
p_intf
->
psz_switch_intf
=
NULL
;
/* Make sure the old interface is completely uninitialized */
module_Unneed
(
p_intf
,
p_intf
->
p_module
);
vlc_mutex_lock
(
&
p_intf
->
object_lock
);
p_intf
->
b_die
=
VLC_FALSE
;
p_intf
->
b_dead
=
VLC_FALSE
;
...
...
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