From 258cd32383728e40608d56f9fc97d113df53f774 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Sat, 8 Dec 2012 14:26:18 +0100 Subject: adjust to vdr 1.7.33, not compatible to previous versions anymore --- dynamicdevice.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'dynamicdevice.c') diff --git a/dynamicdevice.c b/dynamicdevice.c index d0d642e..c17f9bc 100644 --- a/dynamicdevice.c +++ b/dynamicdevice.c @@ -1035,6 +1035,20 @@ bool cDynamicDevice::IsPlayingVideo(void) const return cDevice::IsPlayingVideo(); } +cRect cDynamicDevice::CanScaleVideo(const cRect &Rect, int Alignment) +{ + if (subDevice) + return subDevice->CanScaleVideo(Rect, Alignment); + return cDevice::CanScaleVideo(Rect, Alignment); +} + +void cDynamicDevice::ScaleVideo(const cRect &Rect) +{ + if (subDevice) + return subDevice->ScaleVideo(Rect); + return cDevice::ScaleVideo(Rect); +} + bool cDynamicDevice::HasIBPTrickSpeed(void) { if (subDevice) -- cgit v1.2.3