Changeset a88c1a091cb383c3dbf0b7d51f1f3bba36ff5e97
- Timestamp:
- 05/06/04 20:04:06
(5 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1086458646 +0000
- git-parent:
[788a3c84dc231bc4b5467fe4f49d0d1932010d52]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1086458646 +0000
- Message:
* src/interface/interface.c, modules/gui/wxwindows/video.cpp: couple of fixes.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r788a3c8 |
ra88c1a0 |
|
| 129 | 129 | { |
|---|
| 130 | 130 | if( !p_intf->psz_switch_intf ) |
|---|
| | 131 | { |
|---|
| 131 | 132 | if( vout_Control( p_vout, VOUT_CLOSE ) != VLC_SUCCESS ) |
|---|
| 132 | 133 | vout_Control( p_vout, VOUT_REPARENT ); |
|---|
| | 134 | } |
|---|
| 133 | 135 | else |
|---|
| | 136 | { |
|---|
| 134 | 137 | if( vout_Control( p_vout, VOUT_REPARENT ) != VLC_SUCCESS ) |
|---|
| 135 | 138 | vout_Control( p_vout, VOUT_CLOSE ); |
|---|
| | 139 | } |
|---|
| 136 | 140 | } |
|---|
| 137 | 141 | |
|---|
| r75df75b |
ra88c1a0 |
|
| 317 | 317 | } |
|---|
| 318 | 318 | |
|---|
| | 319 | /* Make sure the old interface is completely uninitialized */ |
|---|
| | 320 | module_Unneed( p_intf, p_intf->p_module ); |
|---|
| | 321 | |
|---|
| 319 | 322 | /* Provide ability to switch the main interface on the fly */ |
|---|
| 320 | 323 | psz_intf = p_intf->psz_switch_intf; |
|---|
| 321 | 324 | p_intf->psz_switch_intf = NULL; |
|---|
| 322 | | |
|---|
| 323 | | /* Make sure the old interface is completely uninitialized */ |
|---|
| 324 | | module_Unneed( p_intf, p_intf->p_module ); |
|---|
| 325 | 325 | |
|---|
| 326 | 326 | vlc_mutex_lock( &p_intf->object_lock ); |
|---|