- Timestamp:
- 28/08/08 21:42:06 (3 months ago)
- git-parent:
- Files:
-
- modules/services_discovery/podcast.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/services_discovery/podcast.c
rd11fd0d rc6d9fff 160 160 var_AddCallback( p_sd, "podcast-urls", UrlsChange, p_sys ); 161 161 162 while( vlc_object_alive (p_sd))162 for( ;; ) 163 163 { 164 int i; 164 /* FIXME: That's 2000 wake up per seconds too many. */ 165 msleep( 500 ); 166 167 int canc = vlc_savecancel (); /* <- FIXME: should not be needed */ 165 168 if( p_sys->b_update == true ) 166 169 { … … 173 176 } 174 177 175 for( i = 0; i < p_sd->p_sys->i_input; i++ )178 for( int i = 0; i < p_sd->p_sys->i_input; i++ ) 176 179 { 177 180 if( p_sd->p_sys->pp_input[i]->b_eof … … 185 188 } 186 189 } 187 msleep( 500);190 vlc_restorecancel (canc); 188 191 } 189 192 }
