From d8ea1796f34ff894b148a0af78c0a547e0496ee1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 May 2017 11:54:19 +0100 Subject: Rename some classes. --- src/lib/transcoder.h | 60 ---------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 src/lib/transcoder.h (limited to 'src/lib/transcoder.h') diff --git a/src/lib/transcoder.h b/src/lib/transcoder.h deleted file mode 100644 index 413b4d9be..000000000 --- a/src/lib/transcoder.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - Copyright (C) 2012-2017 Carl Hetherington - - This file is part of DCP-o-matic. - - DCP-o-matic is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - DCP-o-matic is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with DCP-o-matic. If not, see . - -*/ - -#ifndef DCPOMATIC_TRANSCODER_H -#define DCPOMATIC_TRANSCODER_H - -#include "types.h" -#include "player_subtitles.h" -#include - -class Film; -class Encoder; -class Player; -class Job; -class PlayerVideo; -class AudioBuffers; - -/** @class Transcoder */ -class Transcoder : public boost::noncopyable -{ -public: - Transcoder (boost::shared_ptr film, boost::weak_ptr job); - virtual ~Transcoder () {} - - virtual void go () = 0; - - /** @return the current frame rate over the last short while */ - virtual float current_rate () const = 0; - /** @return the number of frames that are done */ - virtual Frame frames_done () const = 0; - virtual bool finishing () const = 0; - -protected: - virtual void video (boost::shared_ptr, DCPTime) = 0; - virtual void audio (boost::shared_ptr, DCPTime) = 0; - virtual void subtitle (PlayerSubtitles, DCPTimePeriod) = 0; - - boost::shared_ptr _film; - boost::weak_ptr _job; - boost::shared_ptr _player; -}; - -#endif -- cgit v1.2.3