Re: Gstreamer filter



On Wed, 2004-09-29 at 11:50 +0100, Adam wrote:
> Ok great beacuse i've been working on this...
> For one filter to handle multiple file types you need to know the mime
> type of the file in  DoPullProperties() - how can i get it?

override protected void DoPullProperties ()
{
	if (Flavor.MimeType == "foo/bar") {
		// handler for foo/bar
	} else if (Flavor.MimeType == "baz/zar") {
		// handler for baz/zar
	} // etc.
}

-J




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]