From ea25399458d35ca25e3477200baa1b393a577b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sun, 21 Jun 2009 03:04:34 +0200 Subject: Removed backward compatibility to VDR < 1.6.0 (closes #137) --- render.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'render.c') diff --git a/render.c b/render.c index 65b0ce7..80a83a2 100644 --- a/render.c +++ b/render.c @@ -131,7 +131,7 @@ cText2SkinRender::~cText2SkinRender() void cText2SkinRender::Action(void) { bool to = true; - uint start_time = time_ms(); + uint start_time = cTimeMs::Now(); mActive = true; UpdateLock(); mStarted.Broadcast(); @@ -143,7 +143,7 @@ void cText2SkinRender::Action(void) else mDoUpdate.Wait(mDoUpdateMutex); if (!mActive) break; // fall out if thread to be stopped - mNow = time_ms(); + mNow = cTimeMs::Now(); if (mUpdateIn) { if (!to || mNow >= start_time + mUpdateIn) { @@ -843,7 +843,6 @@ cxType cText2SkinRender::GetTokenData(const txToken &Token) case tOsdHeight: return (cxType)mBaseSize.h; -#if VDRVERSNUM >=10318 case tAudioTrack: { cDevice *dev = cDevice::PrimaryDevice(); const tTrackId *Track = dev->GetTrack(dev->GetCurrentAudioTrack()); @@ -854,7 +853,6 @@ cxType cText2SkinRender::GetTokenData(const txToken &Token) case tAudioChannel: return cText2SkinDisplayTracks::ChannelName(cDevice::PrimaryDevice()->GetAudioChannel()); -#endif default: return Text2SkinStatus.GetTokenData(Token); } -- cgit v1.2.3