<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 21, 2008, at 8:56 PM, Robert O'Callahan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">On Fri, Aug 22, 2008 at 2:57 PM, Eric Carlson <span dir="ltr"><<a href="mailto:eric.carlson@apple.com">eric.carlson@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">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.<br></div><font color="#888888"> </font></blockquote><div> </div></div>You mean this<br><a href="http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm#L815">http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm#L815</a><br> which calls this?<br><a href="http://developer.apple.com/documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovie_Class/Reference/Reference.html#//apple_ref/occ/clm/QTMovie/movieFileTypes">http://developer.apple.com/documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovie_Class/Reference/Reference.html#//apple_ref/occ/clm/QTMovie/movieFileTypes</a>:<br> <br clear="all"></div></blockquote><div> Yes, and the Windows version is here: <a href="http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/win/QTMovieWin.cpp#L695">http://trac.webkit.org/browser/trunk/WebCore/platform/graphics/win/QTMovieWin.cpp#L695</a></div><div><br></div><blockquote type="cite"><div dir="ltr">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.<br><br></div></blockquote><div> 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.</div><div><br></div><div>eric</div><div><br></div></div><br></body></html>