Changeset 2cd7d252bbe5e0ac8543a9e9c6e6faeedac76c14
- Timestamp:
- 19/07/08 21:46:43
(5 months ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1216496803 +0200
- git-parent:
[79c265c2fef987669665d36bc570ddd6a46ddbe4]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1216496676 +0200
- Message:
Mac OS X framework: libvlc_MediaPlayerPlayed -> libvlc_MediaPlayerPlaying.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf88c57c |
r2cd7d25 |
|
| 89 | 89 | VLCMediaPlayerState newState; |
|---|
| 90 | 90 | |
|---|
| 91 | | if( event->type == libvlc_MediaPlayerPlayed ) |
|---|
| | 91 | if( event->type == libvlc_MediaPlayerPlaying ) |
|---|
| 92 | 92 | newState = VLCMediaPlayerStatePlaying; |
|---|
| 93 | 93 | else if( event->type == libvlc_MediaPlayerPaused ) |
|---|
| … | … | |
| 641 | 641 | // Attach event observers into the media instance |
|---|
| 642 | 642 | libvlc_event_manager_t * p_em = libvlc_media_player_event_manager( instance, &ex ); |
|---|
| 643 | | libvlc_event_attach( p_em, libvlc_MediaPlayerPlayed, HandleMediaInstanceStateChanged, self, &ex ); |
|---|
| | 643 | libvlc_event_attach( p_em, libvlc_MediaPlayerPlaying, HandleMediaInstanceStateChanged, self, &ex ); |
|---|
| 644 | 644 | libvlc_event_attach( p_em, libvlc_MediaPlayerPaused, HandleMediaInstanceStateChanged, self, &ex ); |
|---|
| 645 | 645 | libvlc_event_attach( p_em, libvlc_MediaPlayerEndReached, HandleMediaInstanceStateChanged, self, &ex ); |
|---|
| … | … | |
| 653 | 653 | { |
|---|
| 654 | 654 | libvlc_event_manager_t * p_em = libvlc_media_player_event_manager( instance, NULL ); |
|---|
| 655 | | libvlc_event_detach( p_em, libvlc_MediaPlayerPlayed, HandleMediaInstanceStateChanged, self, NULL ); |
|---|
| | 655 | libvlc_event_detach( p_em, libvlc_MediaPlayerPlaying, HandleMediaInstanceStateChanged, self, NULL ); |
|---|
| 656 | 656 | libvlc_event_detach( p_em, libvlc_MediaPlayerPaused, HandleMediaInstanceStateChanged, self, NULL ); |
|---|
| 657 | 657 | libvlc_event_detach( p_em, libvlc_MediaPlayerEndReached, HandleMediaInstanceStateChanged, self, NULL ); |
|---|