Changeset b94083f55404f83a91bba60913e4db6c3e32f9c0
- Timestamp:
- 07/05/08 15:50:00
(2 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1215265800 +0200
- git-parent:
[b9e88f0787500ec44c407379fa963d4925158e91]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1215262235 +0200
- Message:
macosx: o_sendport not used, remove.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0371490 |
rb94083f |
|
| 67 | 67 | { |
|---|
| 68 | 68 | NSAutoreleasePool * o_pool; |
|---|
| 69 | | NSPort * o_sendport; |
|---|
| 70 | 69 | |
|---|
| 71 | 70 | /* the current input */ |
|---|
| r0371490 |
rb94083f |
|
| 106 | 106 | p_intf->p_sys->o_pool = [[NSAutoreleasePool alloc] init]; |
|---|
| 107 | 107 | |
|---|
| 108 | | p_intf->p_sys->o_sendport = [[NSPort port] retain]; |
|---|
| 109 | 108 | p_intf->p_sys->p_sub = msg_Subscribe( p_intf ); |
|---|
| 110 | 109 | p_intf->pf_run = Run; |
|---|
| … | … | |
| 125 | 124 | msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub ); |
|---|
| 126 | 125 | |
|---|
| 127 | | [p_intf->p_sys->o_sendport release]; |
|---|
| 128 | 126 | [p_intf->p_sys->o_pool release]; |
|---|
| 129 | 127 | |
|---|
| … | … | |
| 707 | 705 | o_msg_arr = [[NSMutableArray arrayWithCapacity: 200] retain]; |
|---|
| 708 | 706 | |
|---|
| 709 | | [p_intf->p_sys->o_sendport setDelegate: self]; |
|---|
| 710 | | [[NSRunLoop currentRunLoop] |
|---|
| 711 | | addPort: p_intf->p_sys->o_sendport |
|---|
| 712 | | forMode: NSDefaultRunLoopMode]; |
|---|
| 713 | | |
|---|
| 714 | 707 | /* FIXME: don't poll */ |
|---|
| 715 | 708 | interfaceTimer = [[NSTimer scheduledTimerWithTimeInterval: 0.5 |
|---|