Isaac Richards wrote:
On Friday 03 December 2004 10:36 pm, Johannes wrote: <snip>
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..
Isaac
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
IvtvDecoder class.
I guess it is probably better to delete the "bool ateof;"
declaration in the ivtvdecoder.h.
Johannes
_______________________________________________ mythtv-dev mailing list [EMAIL PROTECTED] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
