From: Torsten J. <t....@gm...> - 2013-12-23 14:11:12
|
# HG changeset patch # User Torsten Jager <t....@gm...> # Date 1387807845 -3600 # Node ID 015b345a9d2ea0190545c60467769ab206a3828e # Branch default # Parent 8dda192d2f139d8abf03e75327f0b129af2f1054 Ignore invalid video frame rate in metronom. diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.c @@ -437,7 +437,8 @@ this->img_cpt++; - if (img->duration) { + /* 1000 fps usually means unknown or variable frame rate */ + if (img->duration > 90) { this->video_mode = VIDEO_PREDICTION_MODE; this->img_duration = img->duration; } else { |