2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "threads/Event.h"
13 class CVideoReferenceClock
;
18 explicit CVideoSync(CVideoReferenceClock
* clock
) { m_refClock
= clock
; }
19 virtual ~CVideoSync() = default;
20 virtual bool Setup() = 0;
21 virtual void Run(CEvent
& stop
) = 0;
22 virtual void Cleanup() = 0;
23 virtual float GetFps() = 0;
24 virtual void RefreshChanged() {}
28 CVideoReferenceClock
* m_refClock
;