typefind: add a new method that also uses the file extension
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Jan 2010 16:34:39 +0000 (17:34 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 12 Jan 2010 16:34:39 +0000 (17:34 +0100)
commit8fff434835dd9fd1a5a4a8fa93b63b2802988d88
treee5631ad1fb9263ac263059ff76179c8f006a43bc
parent068307b70eff70d16298222b4d6299ccbccf9c5a
typefind: add a new method that also uses the file extension

Add a method to perform get_range typefinding that also uses the
uri/location extension as an extra hint. It will first try to call the
typefind functions of the factories that handle the given extension. The result
is that in the common case, we only call one typefind function, which speeds up
the typefinding a lot.
docs/libs/gstreamer-libs-sections.txt
libs/gst/base/gsttypefindhelper.c
libs/gst/base/gsttypefindhelper.h
win32/common/libgstbase.def