[whatwg] Scripted <video> query proposal

On Aug 21, 2008, at 8:56 PM, Robert O'Callahan wrote:

> On Fri, Aug 22, 2008 at 2:57 PM, Eric Carlson  
> <eric.carlson at apple.com> wrote:
> It is possible to build a list of all types supported by QuickTime  
> dynamically. WebKit does this, so Safari knows about both the built  
> in types and those added by third party importers.
>
> You mean this
> http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm#L815
> which calls this?
> http://developer.apple.com/documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovie_Class/Reference/Reference.html#/ 
> /apple_ref/occ/clm/QTMovie/movieFileTypes:
>
   Yes, and the Windows version is here: http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/win/QTMovieWin.cpp#L695

> Does that actually enumerate all supported codecs? Looking at the  
> Webkit code and the Quicktime docs, it looks like it's just  
> enumerating file/container types.
>
   Indeed the code enumerates movie importers and just builds a list  
of the MIME types supported by QuickTime, so it can not yet deal with  
a type string with an RFC4281 "codecs" parameter. We are working on  
that requirement, but the current approach is still useful because the  
"codecs" parameter is not yet widely used.

eric


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080822/48e24105/attachment.htm>

Received on Friday, 22 August 2008 06:46:54 UTC