[mythtv] [PATCH] AvFmtDec defaults?

Kenneth Aafløy lists at kenneth.aafloy.net
Sat Oct 23 15:38:10 UTC 2004


On Saturday 23 October 2004 17:15, Daniel Thor Kristjansson wrote:
> On Sat, 23 Oct 2004, Kenneth Aafløy wrote:
> ]The attached patch removes the defaulting to Mpeg2Video and AC3 in
> ]AvFormatDecoder, it's really just wrong and should be fixed in the
> ]other end instead.
>
> As far as I know it is fixed on the other end, but I'd like to keep this
> defensive programing in a while. Getting an error message is much nicer
> than a core dump on the back end for end users. It's easilly converted
> to an assert if need be.

I would think forcing the codec to a certain type would cause more harm than 
good, no? Also there should be a check at the bottom of ScanStreams to check 
if there really is any usefull streams left..

Kenneth


More information about the mythtv-dev mailing list