diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-02-18 15:55:44 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-02-18 15:55:44 +0000 |
commit | e9728f74c747aa5c3f491cfce675cb5747413b6d (patch) | |
tree | 4f0271685b59a634b0954f0c70efe1f74efbe9fc /src/xine-engine/metronom.c | |
parent | 6b8d8fbccaf932cc8d02d6fd56000839894ab41a (diff) | |
download | xine-lib-e9728f74c747aa5c3f491cfce675cb5747413b6d.tar.gz xine-lib-e9728f74c747aa5c3f491cfce675cb5747413b6d.tar.bz2 |
cleanup/added debug messages, small metronom fix
CVS patchset: 1508
CVS date: 2002/02/18 15:55:44
Diffstat (limited to 'src/xine-engine/metronom.c')
-rw-r--r-- | src/xine-engine/metronom.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index 27db93c7d..7bea58347 100644 --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: metronom.c,v 1.57 2002/02/18 13:33:19 guenter Exp $ + * $Id: metronom.c,v 1.58 2002/02/18 15:55:44 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -47,8 +47,6 @@ #define PREBUFFER_PTS_OFFSET 30000 #define VIDEO_DRIFT_TOLERANCE 45000 -#define METRONOM_REPORT - /* #define LOG */ @@ -433,7 +431,8 @@ static void metronom_got_video_frame (metronom_t *this, vo_frame_t *img) { this->video_vpts -= diff / 8; /* FIXME: better heuristics ? */ /* make wrap_offset consistent with the drift correction */ - this->video_wrap_offset = this->video_vpts - pts; + /* this->video_wrap_offset = this->video_vpts - pts; */ + /* don't touch wrap here, wrap offsets are used for wrap compensation */ #ifdef LOG printf ("metronom: video drift, wrap offset is now %lld\n", |