[mythtv-commits] mythtv commit: r12618 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Jan 22 15:09:28 UTC 2007


      Author: danielk
        Date: 2007-01-22 15:09:27 +0000 (Mon, 22 Jan 2007)
New Revision: 12618
   Changeset: http://cvs.mythtv.org/trac/changeset/12618

Added:

   trunk/mythtv/libs/libmythtv/avcinfo.cpp
   trunk/mythtv/libs/libmythtv/avcinfo.h
   trunk/mythtv/libs/libmythtv/darwinavcinfo.cpp
   trunk/mythtv/libs/libmythtv/darwinavcinfo.h
   trunk/mythtv/libs/libmythtv/darwinfirewiredevice.cpp
   trunk/mythtv/libs/libmythtv/darwinfirewiredevice.h
   trunk/mythtv/libs/libmythtv/firewiredevice.cpp
   trunk/mythtv/libs/libmythtv/firewiredevice.h
   trunk/mythtv/libs/libmythtv/firewiresignalmonitor.cpp
   trunk/mythtv/libs/libmythtv/firewiresignalmonitor.h
   trunk/mythtv/libs/libmythtv/linuxavcinfo.cpp
   trunk/mythtv/libs/libmythtv/linuxavcinfo.h
   trunk/mythtv/libs/libmythtv/linuxfirewiredevice.cpp
   trunk/mythtv/libs/libmythtv/linuxfirewiredevice.h

Removed:

   trunk/mythtv/libs/libmythtv/darwinfirewirechannel.cpp
   trunk/mythtv/libs/libmythtv/darwinfirewirechannel.h
   trunk/mythtv/libs/libmythtv/darwinfirewirerecorder.cpp
   trunk/mythtv/libs/libmythtv/darwinfirewirerecorder.h
   trunk/mythtv/libs/libmythtv/firewirechannelbase.cpp
   trunk/mythtv/libs/libmythtv/firewirechannelbase.h
   trunk/mythtv/libs/libmythtv/firewirerecorderbase.cpp
   trunk/mythtv/libs/libmythtv/firewirerecorderbase.h
   trunk/mythtv/libs/libmythtv/iptv/iptvlistener.h
   trunk/mythtv/libs/libmythtv/selectavcdevice.cpp
   trunk/mythtv/libs/libmythtv/selectavcdevice.h

Modified:

   trunk/mythtv/configure
   trunk/mythtv/libs/libmythtv/cardutil.cpp
   trunk/mythtv/libs/libmythtv/dbcheck.cpp
   trunk/mythtv/libs/libmythtv/firewirechannel.cpp
   trunk/mythtv/libs/libmythtv/firewirechannel.h
   trunk/mythtv/libs/libmythtv/firewirerecorder.cpp
   trunk/mythtv/libs/libmythtv/firewirerecorder.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeeder.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederfile.cpp
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederfile.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederlive.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederrtp.cpp
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederrtp.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederrtsp.cpp
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederrtsp.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederudp.cpp
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederudp.h
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederwrapper.cpp
   trunk/mythtv/libs/libmythtv/iptv/iptvfeederwrapper.h
   trunk/mythtv/libs/libmythtv/iptv/iptvmediasink.cpp
   trunk/mythtv/libs/libmythtv/iptv/iptvmediasink.h
   trunk/mythtv/libs/libmythtv/iptvrecorder.cpp
   trunk/mythtv/libs/libmythtv/iptvrecorder.h
   trunk/mythtv/libs/libmythtv/iptvsignalmonitor.cpp
   trunk/mythtv/libs/libmythtv/iptvsignalmonitor.h
   trunk/mythtv/libs/libmythtv/libmythtv.pro
   trunk/mythtv/libs/libmythtv/mpeg/streamlisteners.h
   trunk/mythtv/libs/libmythtv/signalmonitor.cpp
   trunk/mythtv/libs/libmythtv/signalmonitor.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp
   trunk/mythtv/libs/libmythtv/tv_rec.h
   trunk/mythtv/libs/libmythtv/videosource.cpp
   trunk/mythtv/libs/libmythtv/videosource.h

Log:

Fixes #1648. Fixes #2209. Fixes #2722. Fixes various Firewire problems.

This is a sync from the mythtv-firewire branch, see it for detailed descriptions.

This removes any existing Firewire cards, these must be recreated with GUID. The Linux firewire recorder used the port and node on the bus the STB was on to identify a recorder, this is not unique across bus resets and is not unique in the presence of firewire hubs. The Mac firewire recorder just randomly selected STB's for the recorders. This changes the code to use the GUID, which is unique to each firewire device, to identify which one to use for each recorder.

We required the user to select the STB model, even when we knew this from the vendor and model ID. This automatically selects the proper STB model if we know it, otherwise we default to a channel changer that will work with any AV/C compliant recorder (though it may be slower).

IEEE-1394 Bus resets were not handled properly, particularly in the Linux firewire recorder. This adds a reset handler which will find the recorder if it is still on the bus and resume recording.

We always leaked memory when using libavc later than 5.3, configure will now detect the version and if MythTV is compiled with 5.3 present it will require it and will not leak memory. MythTV will still compile with older versions, but we will still leak memory if the user later upgrades to 5.3 without updating MythTV.

This also merges the IPTV & Firewire TS packet listener classes to a single class in mpeg/streamlisteners.h and merges some Mac & Linux Firewire classes to avoid code duplication.

There is still no channel scanner for firewire and the automatic bus reset code (to deal with 5C channels) has been disabled in the merge due to remaining problems, use the mythtv-firewire branch if you want the latest and greatest.






More information about the mythtv-commits mailing list