From f2caad0df1a451e2aff68dfd37277faa72116e12 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 May 2013 14:27:00 +0100 Subject: Various time-related fixes; fix daft hang on decodes. --- src/lib/player.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/player.cc') diff --git a/src/lib/player.cc b/src/lib/player.cc index 9cc166204..e38b12ec3 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -1,3 +1,5 @@ +/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */ + /* Copyright (C) 2013 Carl Hetherington @@ -80,8 +82,6 @@ Player::pass () _have_valid_decoders = true; } - cout << "-> Player::pass\n"; - /* Here we are just finding the active decoder with the earliest last emission time, then calling pass on it. If there is no decoder, we skip our position on until there is. Hence this method will cause video and audio to be emitted, and it is up to the @@ -114,11 +114,9 @@ Player::pass () } else if (next_wait < TIME_MAX) { _position += next_wait; } else { - cout << "<- Player::pass\n"; return true; } - cout << "<- Player::pass\n"; return false; } -- cgit v1.2.3