correct timer threshold for warning message

This commit is contained in:
niels
2012-12-31 01:36:26 +01:00
parent 7b713eee23
commit b5acbca429

View File

@@ -2744,9 +2744,8 @@ static void veejay_playback_cycle(veejay_t * info)
#else #else
info->real_fps = 0; info->real_fps = 0;
#endif #endif
if( info->real_fps > (1000* settings->spvf * 2.0f) && info->audio ) { if( info->real_fps > (1000* settings->spvf ) && info->audio ) {
veejay_msg(VEEJAY_MSG_WARNING, "Decoding video frame takes too long! (measured %ld ms).", info->real_fps); veejay_msg(VEEJAY_MSG_WARNING, "Decoding video frame takes too long! (measured %ld ms).", info->real_fps);
} }
if(!info->audio && skipv ) continue; if(!info->audio && skipv ) continue;