[mythtv-commits] Re: Ticket #408: incorrect frame size when recording on MJPEG card

MythTV mythtv at cvs.mythtv.org
Tue Oct 11 19:43:31 UTC 2005


#408: incorrect frame size when recording on MJPEG card
----------------------------------+-----------------------------------------
 Reporter:  mkundinger at yahoo.com  |        Owner:  danielk
     Type:  defect                |       Status:  closed 
 Priority:  minor                 |    Milestone:         
Component:  mythtv                |      Version:         
 Severity:  medium                |   Resolution:  fixed  
----------------------------------+-----------------------------------------
Changes (by danielk):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 (In [7454]) Fixes #408.

 The Xhannel and NVR needed to be closed when calling
 NVR::Initialize() when using an MJPEG card.

 This closes and reopens the channel when needed, and also
 makes it safe for the NVR to be open. The later part isn't
 needed right now, but there was also a problem in that the
 MJPEG init closed the NVR file descriptor but didn't reset
 it to -1. It was easy to allow the NVR to be open when
 fixing this.

 This also uses the new ENO macro instead of perror() to
 print out errno based error messages.

 mkundinger can you verify this fix?

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/408>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list