[mythtv] Subclassing avfdecoder
Isaac Richards
ijr at po.cwru.edu
Sun Jan 11 11:32:16 EST 2004
On Sunday 11 January 2004 01:59 am, Kevin Kuphal wrote:
> I just wanted to let the developers know that I've successfully implemented
> a subclass of avfdecoder for MythMusic handling MP3 decoding. This just
> proves a point that it can be trivial to implement a decoder for MythMusic
> now for any format supported by libavformat. This also means that the
> current MP3 and Vorbis decoding could be cut at some time as the powers
> that be see fit. The subclass does nothing but call the parent
> (avfDecoder) class methods and presents its own proper extension support.
>
> I hope to take a look at encoding with libavformat next.
Wouldn't it just be easier to add more extensions to the list of what's
supported and modify supports() to compare against that list? No need for
more classes that way.
And as I said off list, I don't think I'll remove the native decoders any time
soon.
Isaac
More information about the mythtv-dev
mailing list