summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-11-20 12:22:19 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-11-20 12:22:19 +0000
commit2f3f9f2e244bfb544c3c44279527bfea5e6d50f8 (patch)
treed0369d2041a06b471df976094c230d14e833caf2
parent4e95a4f5224e241075b8cd86b4423c85c1d0ee26 (diff)
downloadxine-lib-2f3f9f2e244bfb544c3c44279527bfea5e6d50f8.tar.gz
xine-lib-2f3f9f2e244bfb544c3c44279527bfea5e6d50f8.tar.bz2
I forgot to adapt this
CVS patchset: 3313 CVS date: 2002/11/20 12:22:19
-rw-r--r--src/xine-engine/metronom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c
index faf803c96..6b857f211 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.102 2002/11/20 11:57:49 mroi Exp $
+ * $Id: metronom.c,v 1.103 2002/11/20 12:22:19 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -311,8 +311,8 @@ static void metronom_handle_video_discontinuity (metronom_t *this, int type,
}
}
- if ( this->video_vpts < metronom_get_current_time(this) ) {
- this->video_vpts = PREBUFFER_PTS_OFFSET + metronom_get_current_time(this);
+ if ( this->video_vpts < this->clock->get_current_time(this->clock) ) {
+ this->video_vpts = PREBUFFER_PTS_OFFSET + this->clock->get_current_time(this->clock);
this->audio_vpts = this->video_vpts;
printf ("metronom: vpts adjusted with prebuffer to %lld\n", this->video_vpts);
}