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
75df75b6
Commit
75df75b6
authored
May 16, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* interface/interface.c: fixed a bug with embedded vouts and interface switching.
* video_output/vout_intf.c: small fix.
parent
a748c625
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/interface/interface.c
src/interface/interface.c
+5
-1
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+0
-1
No files found.
src/interface/interface.c
View file @
75df75b6
...
@@ -319,11 +319,15 @@ static void RunInterface( intf_thread_t *p_intf )
...
@@ -319,11 +319,15 @@ static void RunInterface( intf_thread_t *p_intf )
/* Provide ability to switch the main interface on the fly */
/* Provide ability to switch the main interface on the fly */
psz_intf
=
p_intf
->
psz_switch_intf
;
psz_intf
=
p_intf
->
psz_switch_intf
;
p_intf
->
psz_switch_intf
=
NULL
;
p_intf
->
psz_switch_intf
=
NULL
;
p_intf
->
b_die
=
VLC_FALSE
;
/* Make sure the old interface is completely uninitialized */
/* Make sure the old interface is completely uninitialized */
module_Unneed
(
p_intf
,
p_intf
->
p_module
);
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
;
vlc_mutex_unlock
(
&
p_intf
->
object_lock
);
p_intf
->
p_module
=
module_Need
(
p_intf
,
"interface"
,
psz_intf
,
0
);
p_intf
->
p_module
=
module_Need
(
p_intf
,
"interface"
,
psz_intf
,
0
);
free
(
psz_intf
);
free
(
psz_intf
);
}
}
...
...
src/video_output/vout_intf.c
View file @
75df75b6
...
@@ -151,7 +151,6 @@ int vout_ControlWindow( vout_thread_t *p_vout, void *p_window,
...
@@ -151,7 +151,6 @@ int vout_ControlWindow( vout_thread_t *p_vout, void *p_window,
{
{
msg_Err
(
p_vout
,
"no pf_control_window"
);
msg_Err
(
p_vout
,
"no pf_control_window"
);
vlc_mutex_unlock
(
&
p_intf
->
object_lock
);
vlc_mutex_unlock
(
&
p_intf
->
object_lock
);
vlc_object_release
(
p_intf
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
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