[gst-devel] type finding

Benjamin Otte in7y118 at public.uni-hamburg.de
Mon Feb 3 03:55:39 CET 2003


On Thu, 30 Jan 2003, Erik Walthinsen wrote:

> Well, the filesrc should really be doing this.  gnomevfssrc should be able
> to set caps based on several of its properties, such as iradio.
>
I don't think it's a good idea to detect filetypes based on extensions,
though it might be a nice idea to use it as a hint on which typefind to
try first.
Even Nautilus uses sniffing exclusively I believe.

> I'm not sure how spider manages sending the buffer to typefind, then
> 'recalling' it and sending it into the newly selected element, but the
> autoplugcache is designed to do this, up to an arbitrary depth.  When I
> rework the original dynamic autoplugger, that's what'll be usd.
>
If no type is found, spider fetches a new buffer, appends it to the old
one and restarts typefinding with that bigger buffer.


Benjamin





More information about the gstreamer-devel mailing list