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/video_decoder.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/video_decoder.cc') diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index a24059da2..533fdcf1a 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -1,3 +1,5 @@ +/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */ + /* Copyright (C) 2012 Carl Hetherington @@ -41,10 +43,10 @@ VideoDecoder::VideoDecoder (shared_ptr f) /** Called by subclasses to tell the world that some video data is ready. * We find a subtitle then emit it for listeners. * @param image frame to emit. - * @param t Time of the frame within the source, in seconds. + * @param t Time of the frame within the source. */ void -VideoDecoder::emit_video (shared_ptr image, bool same, double t) +VideoDecoder::emit_video (shared_ptr image, bool same, Time t) { shared_ptr sub; if (_timed_subtitle && _timed_subtitle->displayed_at (t)) { -- cgit v1.2.3