[mythtv-commits] Ticket #5711: mythtv cannot open cx88_blackbird video device

MythTV mythtv at cvs.mythtv.org
Wed Sep 17 12:15:40 UTC 2008


#5711: mythtv cannot open cx88_blackbird video device
---------------------------------+------------------------------------------
 Reporter:  lfarkas at math.bme.hu  |        Owner:  ijr    
     Type:  defect               |       Status:  new    
 Priority:  minor                |    Milestone:  unknown
Component:  mythtv               |      Version:  0.21   
 Severity:  high                 |   Resolution:         
  Mlocked:  0                    |  
---------------------------------+------------------------------------------

Comment(by lfarkas at math.bme.hu):

 The problem is that my device cannot be opened twice. For example:

 cat /dev/v4l/video1 > something1.mpg

 works, but

 cat /dev/v4l/video1 > something2.mpg

 gives

 error: Device or resource busy

 If I patch the the libmythtv/mpegrecorder.cpp file to

 close(chanfd)

 before the command

 open(readfd ...

 then the device can be opened, but the channel cannot be set in LiveTV.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5711#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list