|
Line
Link Here
|
| 0 |
-- /home/falco/playback.c.orig 2006-10-30 11:32:34.000000000 +0100 |
0 |
++ playback.c 2007-01-06 21:47:55.949404655 +0100 |
|
Lines 82-87
Link Here
|
| 82 |
bmp_playback_initiate(void) |
82 |
bmp_playback_initiate(void) |
| 83 |
{ |
83 |
{ |
| 84 |
PlaylistEntry *entry = NULL; |
84 |
PlaylistEntry *entry = NULL; |
|
|
85 |
int penalty = 0 ; |
| 85 |
if (playlist_get_length() == 0) |
86 |
if (playlist_get_length() == 0) |
| 86 |
return; |
87 |
return; |
|
Lines 112-117
Link Here
|
| 112 |
if (entry == NULL) |
113 |
if (entry == NULL) |
| 113 |
return; |
114 |
return; |
|
|
115 |
|
| 116 |
if (entry->decoder == NULL && (entry->decoder = input_check_file(entry->filename, FALSE)) == NULL) |
| 117 |
penalty++; |
| 118 |
|
| 119 |
if (penalty > 15) |
| 120 |
return; |
| 114 |
} |
121 |
} |
| 115 |
if (bmp_playback_get_time() != -1) { |
122 |
if (bmp_playback_get_time() != -1) { |