Modify

Ticket #2214 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

vbi device detection

Reported by: devel@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: vbi device
Cc: Ticket locked: no

Description

vbi device detection code in videosource.cpp scans /dev/v4l and /v4l.

It should scan /dev/v4l and /dev instead.

Attachments

v4l_vbi_device_detect.diff (877 bytes) - added by devel@… 7 years ago.
Patch to scan /dev instead of /v4l

Change History

Changed 7 years ago by devel@…

Patch to scan /dev instead of /v4l

comment:1 Changed 7 years ago by devel@…

Note: Attached patch also adds a check to remove symlinked devices. I get:
/dev/vbi (symlinked to default device - /dev/vbi0) /dev/vbi0

Only the vbiX devices are required.

comment:2 Changed 7 years ago by danielk

  • Status changed from new to closed
  • Resolution set to fixed

(In [10886]) Fixes #2214. Checks for VBI devices in "/dev/v4l" and "/dev" not "/dev/v4l" and "/v4l".

I didn't apply the other change in the patch. I would rather see duplicate detection based on major and minor device numbers, like we do with video devices. Checking for symlinks is too fragile.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.