[mythtv] Subclassing avfdecoder

Kevin Kuphal kevin.kuphal at myrealbox.com
Mon Jan 12 09:18:52 EST 2004


I was under the impression that the searching for media files by extension
required the return of a single extension to the supports call?  Again, I
haven't looked deep at the code or tried to see what it would do if I
returned two extensions...

> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org 
> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Isaac Richards
> Sent: Monday, January 12, 2004 12:33 AM
> To: Development of mythtv
> Subject: Re: [mythtv] Subclassing avfdecoder
> 
> 
> On Sunday 11 January 2004 02:05 pm, Kevin Kuphal wrote:
> > Can a decoder register more than one?  I hadn't looked at the code 
> > closely to see if it would take a list of extensions.  My other 
> > thought with classes as that if the decoder did need to do anything 
> > more than call the parent, it could.
> 
> It's not really registering anything -- when it chooses a 
> decoder, it just 
> calls the supports() function of the decoder, which can do 
> anything it wants 
> to decide if it supports the file or not.
> 
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org 
> http://mythtv.org/cgi-> bin/mailman/listinfo/mythtv-dev
> 




More information about the mythtv-dev mailing list