]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: one more en50494 creation fix
authorJaroslav Kysela <perex@perex.cz>
Sat, 16 Aug 2014 07:07:37 +0000 (09:07 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sat, 16 Aug 2014 07:07:37 +0000 (09:07 +0200)
src/input/mpegts/linuxdvb/linuxdvb_en50494.c

index 95ba3a295a5f429d553a213b63b1636b87c6842b..4b1219d7655782df0236d2da43d5952be7f98710 100644 (file)
@@ -269,6 +269,9 @@ linuxdvb_en50494_create0
   linuxdvb_diseqc_t *ld;
   linuxdvb_en50494_t *le;
 
+  if (strcmp(name ?: "", "Generic"))
+    return NULL;
+
   if (port > 1) {
     tvherror("en50494", "only 2 ports/positions are posible. given %i", port);
     port = 0;