Changeset 3a8dc9aa12268701539287f7a93726935fb87d77
- Timestamp:
- 05/30/08 15:54:37
(3 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1212155677 +0200
- git-parent:
[c8075f3500bfdd1e4159f5091c767bcd916f0e26]
- git-author:
- Rafaël Carré <funman@videolan.org> 1212155677 +0200
- Message:
Check properly if vout is dying - CID 7
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r6300760 |
r3a8dc9a |
|
| 189 | 189 | #endif |
|---|
| 190 | 190 | |
|---|
| 191 | | /* if video output is dying, disassociate ourselves from it */ |
|---|
| 192 | | if( p_vout && p_vout->b_die ) |
|---|
| 193 | | { |
|---|
| 194 | | var_DelCallback( p_vout, "mouse-clicked", MouseEvent, p_intf ); |
|---|
| 195 | | vlc_object_release( p_vout ); |
|---|
| 196 | | p_vout = NULL; |
|---|
| 197 | | } |
|---|
| 198 | | |
|---|
| 199 | 191 | /* Main loop */ |
|---|
| 200 | 192 | while( !p_intf->b_die ) |
|---|
| 201 | 193 | { |
|---|
| | 194 | /* if video output is dying, disassociate ourselves from it */ |
|---|
| | 195 | if( p_vout && p_vout->b_die ) |
|---|
| | 196 | { |
|---|
| | 197 | var_DelCallback( p_vout, "mouse-clicked", MouseEvent, p_intf ); |
|---|
| | 198 | vlc_object_release( p_vout ); |
|---|
| | 199 | p_vout = NULL; |
|---|
| | 200 | } |
|---|
| 202 | 201 | |
|---|
| 203 | 202 | /* find a video output if we currently don't have one */ |
|---|