[mythtv-commits] mythtv commit: r7454 by danielk

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


      Author: danielk
        Date: 2005-10-11 19:43:29 +0000 (Tue, 11 Oct 2005)
New Revision: 7454
   Changeset: http://cvs.mythtv.org/trac/changeset/7454

Modified:

   trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
   trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp

Log:

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?






More information about the mythtv-commits mailing list