Changeset 7a35ff7e4cd2fdab5b6dc875cc59aab62779f3c7
- Timestamp:
- 14/12/07 22:00:53
(1 year ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1197666053 +0000
- git-parent:
[8eb693be216b7b1816b224067a6813ac035555cf]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1197666053 +0000
- Message:
control/media_instance.c: implement libvlc_media_instance_stop.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8120e31 |
r7a35ff7 |
|
| 496 | 496 | libvlc_exception_t *p_e ) |
|---|
| 497 | 497 | { |
|---|
| 498 | | //libvlc_exception_raise( p_e, "Not implemented" ); |
|---|
| | 498 | if( p_mi->b_own_its_input_thread ) |
|---|
| | 499 | release_input_thread( p_mi ); /* This will stop the input thread */ |
|---|
| | 500 | else |
|---|
| | 501 | { |
|---|
| | 502 | input_thread_t * p_input_thread = libvlc_get_input_thread( p_mi, p_e ); |
|---|
| | 503 | |
|---|
| | 504 | if( !p_input_thread ) |
|---|
| | 505 | return; |
|---|
| | 506 | |
|---|
| | 507 | input_StopThread( p_input_thread ); |
|---|
| | 508 | vlc_object_release( p_input_thread ); |
|---|
| | 509 | } |
|---|
| 499 | 510 | } |
|---|
| 500 | 511 | |
|---|