summaryrefslogtreecommitdiff
path: root/dynamicdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'dynamicdevice.c')
-rw-r--r--dynamicdevice.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/dynamicdevice.c b/dynamicdevice.c
index c9b640d..0453d9e 100644
--- a/dynamicdevice.c
+++ b/dynamicdevice.c
@@ -736,6 +736,13 @@ bool cDynamicDevice::HasDecoder(void) const
return cDevice::HasDecoder();
}
+cString cDynamicDevice::DeviceName(void) const
+{
+ if (subDevice)
+ return subDevice->DeviceName();
+ return cString::sprintf("dynamite-cDynamicDevice-%d", index);
+}
+
bool cDynamicDevice::AvoidRecording(void) const
{
if (subDevice)