Re: Gstreamer filter



Oops.. i forgot that you are writing "Audio/video" files filter ;)

Its the "Flavor" member of the Filter class... like..

                        switch (Flavor.MimeType) {
                        case "text/x-csrc":
                                KeyWords = cKeyWords;
                                break;
                        case "text/x-c++src":
                                KeyWords = cppKeyWords;
                                break;
                        case "text/x-csharp":
                                KeyWords = csharpKeyWords;
                                break;
                        case "text/x-java":
                                KeyWords = javaKeyWords;
                                break;
                        case "application/x-python":
                                KeyWords = pythonKeyWords;
                                break;
                        }

HTH,

V. Varadhan.

On Wed, 2004-09-29 at 16:45 -0700, Veerapuram Varadhan wrote:
> If i am not wrong, DoPullProperties() is for the Beagle to attach meta
> data to the text that gets indexed.
> 
> So, if your filter can handle more mime types or file types... 
> 
> use AddSupportedMimeType ("<mime-type-the-filter-supports>") for each of
> the file types in the constructor of your filter class.
> 
> Also check the wiki setup by Joe,
> 
> http://yakko.cs.wmich.edu/gasiorek/wiki/index.php/BeagleHacking
> 
> HTH,
> 
> V. Varadhan.
> 
> 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?
> > 
> > On Tue, 2004-09-28 at 19:19, Ed Mack wrote:
> > > > As much as it would be nice to be able to juse use a library instead
> > > > of requiring a _working_ version of gstreamer, having support for
> > > 
> > > AFAIK, Distributions such as Fedora are actively working towards
> > > including gstreamer in the default install, and running totem et al of
> > > it. It'll soon be a requirement for Gnome hopefully :)
> > > 
> > > Anyway, one more good use of GStreamer will aid the cause.
> > > 
> > > Ed Mack
> > > 
> > > 
> > > _______________________________________________
> > > Dashboard-hackers mailing list
> > > Dashboard-hackers gnome org
> > > http://mail.gnome.org/mailman/listinfo/dashboard-hackers
> > > 
> > 
> > _______________________________________________
> > Dashboard-hackers mailing list
> > Dashboard-hackers gnome org
> > http://mail.gnome.org/mailman/listinfo/dashboard-hackers
> 
> _______________________________________________
> Dashboard-hackers mailing list
> Dashboard-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/dashboard-hackers




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