Changeset d2ff9ebf3b5c789711a83777986b1d07261afd67
- Timestamp:
- 07/05/08 14:04:29
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1215259469 +0300
- git-parent:
[8f231e304b9dece94d897687f17c4d62f92b0ee8]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1215259450 +0300
- Message:
interaction: safely join the thread
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfa98030 |
rd2ff9eb |
|
| 387 | 387 | |
|---|
| 388 | 388 | return p_interaction; |
|---|
| | 389 | } |
|---|
| | 390 | |
|---|
| | 391 | void interaction_Destroy( interaction_t *p_interaction ) |
|---|
| | 392 | { |
|---|
| | 393 | if( !p_interaction ) |
|---|
| | 394 | return; |
|---|
| | 395 | |
|---|
| | 396 | vlc_object_kill( p_interaction ); |
|---|
| | 397 | vlc_thread_join( p_interaction ); |
|---|
| | 398 | vlc_object_release( p_interaction ); |
|---|
| 389 | 399 | } |
|---|
| 390 | 400 | |
|---|
| r5277e0f |
rd2ff9eb |
|
| 35 | 35 | **********************************************************************/ |
|---|
| 36 | 36 | |
|---|
| 37 | | /* release via vlc_object_release() */ |
|---|
| 38 | 37 | interaction_t * interaction_Init( libvlc_int_t *p_libvlc ); |
|---|
| | 38 | void interaction_Destroy( interaction_t * ); |
|---|
| 39 | 39 | |
|---|
| 40 | 40 | #endif |
|---|
| r2c595f3 |
rd2ff9eb |
|
| 965 | 965 | /* Free interaction */ |
|---|
| 966 | 966 | msg_Dbg( p_libvlc, "removing interaction" ); |
|---|
| 967 | | vlc_object_release( priv->p_interaction ); |
|---|
| | 967 | interaction_Destroy( priv->p_interaction ); |
|---|
| 968 | 968 | |
|---|
| 969 | 969 | /* Free video outputs */ |
|---|