comparison src/madplug/plugin.c @ 765:2430c9773fa7 trunk

[svn] - determine whether stream is seekable or not by checking duration. it is safe to use with proxy.
author yaz
date Thu, 01 Mar 2007 06:31:20 -0800
parents 59b4bce10c3b
children 1d3f70ac6b31
comparison
equal deleted inserted replaced
764:5810f14fc8e6 765:2430c9773fa7
494 g_message("f: mad: audmad_get_song_tuple: %s", string); 494 g_message("f: mad: audmad_get_song_tuple: %s", string);
495 g_free(string); 495 g_free(string);
496 string = NULL; 496 string = NULL;
497 #endif 497 #endif
498 498
499 if(info.remote && info.size == 0){ 499 if(info.remote && mad_timer_count(info.duration, MAD_UNITS_SECONDS) == 0){
500 if(info.playback && info.playback->playing) { 500 if(info.playback && info.playback->playing) {
501 tuple = bmp_title_input_new(); 501 tuple = bmp_title_input_new();
502 #ifdef DEBUG 502 #ifdef DEBUG
503 printf("info.playback->playing = %d\n",info.playback->playing); 503 printf("info.playback->playing = %d\n",info.playback->playing);
504 #endif 504 #endif