[mythtv] [PATCH] PVR350 Player timeout
johannes-mythtv_dev at steensma.us
Tue Dec 14 04:51:16 UTC 2004
Isaac Richards wrote:
> On Friday 03 December 2004 10:36 pm, Johannes wrote:
>>Adding the initialization "ateof=false" to the IvtvDecoder constructer
>>fixed my problem.
> Are you sure about this? ateof is being initialized (to false) in the
> DecoderBase class constructor, which IvtvDecoder calls..
Looks like ateof is indeed initialized in the DecoderBase constructor.
I think the actual problem is a double declaration of "bool ateof",
because the variable ateof is in the base class, but has also been
declared in the IvtvDecoder class itself (line 75 of ivtvdecoder.h).
Hence I suspect the latter shadows the baseclass ateof, so the
initialization in the baseclass does not initialize the ateof of the
I guess it is probably better to delete the "bool ateof;"
declaration in the ivtvdecoder.h.
More information about the mythtv-dev