Re: Gstreamer filter
- From: Jon Trowbridge <trow ximian com>
- To: Adam <Adam negligible co uk>
- Cc: Joe Gasiorek <joe gasiorek gmail com>, Dashboard <dashboard-hackers gnome org>
- Subject: Re: Gstreamer filter
- Date: Wed, 29 Sep 2004 06:02:54 -0500
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]