[mythtv-commits] Ticket #13443: V4L2 error message for each CaptureCard

MythTV noreply at mythtv.org
Sun Apr 7 21:00:32 UTC 2019


#13443: V4L2 error message for each CaptureCard
----------------------------------------+-------------------------------
 Reporter:  Klaas de Waal               |          Owner:  Klaas de Waal
     Type:  Patch - Bug Fix             |         Status:  assigned
 Priority:  minor                       |      Milestone:  31.0
Component:  MythTV - Mythtv-setup       |        Version:  Master Head
 Severity:  low                         |     Resolution:
 Keywords:  V4L2 DVB capturecard setup  |  Ticket locked:  0
----------------------------------------+-------------------------------
Changes (by Klaas de Waal):

 * milestone:  needs_triage => 31.0


Comment:

 If the system does have a V4L2 encoder device, such as an Hauppauge
 PVR-150, then the probeCard function is called with the name of that
 device, e.g. "/dev/video0". In a system with only digital tuners there is
 no device found and hence the string is empty.

 It would be possible to not create the V4L2 encoder device menu structure
 if no device can be found. However, there is the possibility that a V4L2
 encoder device does not have a standard filename and therefore the menu
 has the possibility to enter a user-defined filename for a V4L2 encoder
 device even if there was no V4L2 encoder device found using the default
 filenames.

 Therefore the solution in the patch, unconditionally create the V4L2
 encoder device menu structure but do not do the probeCard if there is no
 device found, is correct.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13443#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list