Opened 13 years ago

Closed 13 years ago

#2722 closed task (fixed)

firewire, force libavc1394 0.5.3

Reported by: jwestfall Owned by: jwestfall
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

track changes for when I force libavc1394 0.5.3.

Attachments (3)

libavc1394-0.5.3-configure.diff (608 bytes) - added by jwestfall 13 years ago.
libavc1394-0.5.3-ext-changers.diff (1.8 KB) - added by jwestfall 13 years ago.
libavc1394-0.5.3-int-changer.diff (3.1 KB) - added by jwestfall 13 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by jwestfall

(In [11819]) remove avc1394_transaction_block_close from fw channel changers.

refs #2710 and refs #2722

comment:2 Changed 13 years ago by jwestfall

(In [11820]) remove avc1394_transaction_block_close from fw channel change code.

closes #2710, refs #2722

Changed 13 years ago by jwestfall

Changed 13 years ago by jwestfall

Changed 13 years ago by jwestfall

comment:3 Changed 13 years ago by danielk

(In [12384]) Refs 1648. Refs #2209. Refs #2722. Creates a branch to work on FireWire? recorder.

comment:4 Changed 13 years ago by danielk

Resolution: fixed
Status: newclosed

(In [12618]) 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.

Note: See TracTickets for help on using tickets.