Ticket #2214: v4l_vbi_device_detect.diff
| File v4l_vbi_device_detect.diff, 877 bytes (added by , 20 years ago) |
|---|
-
libs/libmythtv/videosource.cpp
614 614 QDir dev("/dev/v4l", "vbi*", QDir::Name, QDir::System); 615 615 if (!fillSelectionsFromDir(dev, card, driver)) 616 616 { 617 dev.setPath("/ v4l");617 dev.setPath("/dev"); 618 618 fillSelectionsFromDir(dev, card, driver); 619 619 } 620 620 } … … 633 633 for (; (fi = it.current()) != 0; ++it) 634 634 { 635 635 QString device = fi->absFilePath(); 636 637 /* Ignore /dev/vbi symlinked to default (eg. /dev/vbi0) */ 638 if (fi->isSymLink()) 639 continue; 640 636 641 int vbifd = open(device.ascii(), O_RDWR); 637 642 if (vbifd < 0) 638 643 continue;
