From a4fb6e83172c5cbbc93cbfeaf0e8b280594835d0 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Wed, 16 Feb 2011 08:57:05 +0100 Subject: return value of streamdev-clients cDevice::NumProvidedSystems() now configurable in plugin setup (fixes #552) --- client/device.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/device.c') diff --git a/client/device.c b/client/device.c index fb80107..9e78f80 100644 --- a/client/device.c +++ b/client/device.c @@ -56,6 +56,11 @@ cStreamdevDevice::~cStreamdevDevice() { DELETENULL(m_TSBuffer); } +#if APIVERSNUM >= 10700 +int cStreamdevDevice::NumProvidedSystems(void) const +{ return StreamdevClientSetup.NumProvidedSystems; } +#endif + bool cStreamdevDevice::ProvidesSource(int Source) const { Dprintf("ProvidesSource, Source=%d\n", Source); return true; -- cgit v1.2.3