[mythtv] [mythtv-commits] mythtv commit: r13336 by nigel
Nigel Pearson
nigel at ind.tansu.com.au
Tue May 8 02:51:04 UTC 2007
> The reason is when the decoder is created in PlaybackBoxMusic::play
> () the cd
> device still isn't being set
Well spotted!
We only want to set the device for CdDecoder objects, though.
(and this is where the whole DecoderFactory OO model falls apart)
I just committed :
+ if (sourcename.contains("cda") == 1)
+ dynamic_cast<CdDecoder*>(decoder)->setDevice(m_CDdevice);
+
--
Nigel Pearson, nigel at ind.tansu.com.au| All science is;
Telstra Net. Eng., Sydney, Australia | either Physics,
Office: 9202 3900 Fax: 9261 3912 | or stamp collecting!
Mobile: 0408 664435 Home: 9792 6998 | - Rutherford
More information about the mythtv-dev
mailing list