[mythtv-commits] mythtv commit: r12471 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jan 10 15:10:57 UTC 2007


      Author: danielk
        Date: 2007-01-10 15:10:57 +0000 (Wed, 10 Jan 2007)
New Revision: 12471
   Changeset: http://cvs.mythtv.org/trac/changeset/12471

Modified:

   branches/mythtv-firewire/libs/libmythtv/linuxfirewiredevice.cpp
   branches/mythtv-firewire/libs/libmythtv/linuxfirewiredevice.h

Log:

Refs #1648. Delays Firewire bus reset handling and fixes a bug resetting broadcast connections.

The Scientific Atlanta HD4200 is a bus master, like a PC on the firewire bus, and it performs gapcount optimization. This results in extra bus resets whenever the bus is reset. If we try to reconnect the plugs while these resets are in flight the iec61883 library calls can get stuck. With this commit we only find the devices in the reset handler and start a 100 ms timer whenever we see a reset. When the timer expires we reconnect the plugs. Since we have 1000 ms to do this according to the specs the streaming should resume properly.

The other problem fixed was with resuming broadcast connections. Here we were just calling OpenBroadcastNode(), but this stops the A/V streaming, which we don't want to do on a reset.





More information about the mythtv-commits mailing list