[mythtv] [PATCH] Remove use of deprecated DVB events.

Stuart Auchterlonie stuarta at squashedfrog.net
Wed Aug 31 10:21:19 UTC 2005


On Wed, Aug 31, 2005 at 05:39:26AM +0200, Kenneth Aafløy wrote:
> Hi!
> 
> This patch removes the FE_GET_EVENT usage in dvbchannel, not only because
> it's deprecated, but because it's deprecated for a reason.  What's happening 
> here is that the events are flushed right after the card get's a lock and
> thus dvbchannel deadlocks waiting for an event.
> 
> The deadlock was caused by bad programming, but the user/kernel space race
> of FE_GET_EVENT still exists.
> 
> The event handling is replaced by a simple busy loop that waits for 5 
> consecutive status == lock over a maximum period of 5 seconds.
> 
> At least I can change channel a few times without myth crashing or
> deadlocking now :)

Well for me it tries to tune to the initial channel, fails and SEGV. :(


Stuart



More information about the mythtv-dev mailing list