On Sat, Nov 17, 2001 at 05:27:15PM -0200, Miguel Freitas wrote:
> Hi Arpi,
>
> >> I just want to give a "hello" since i ported your DirectShow support
> >> routines into xine player. The code is at the cvs for the next 0.9.5
> >> release. Note that i have also converted all c++ code to c.
> >Hmm. How did you do that? (C++->C)
> >I tried it some time ago but finally found it very impossible.
> >(because of directshow api itself is c++)
>
>
> Yes, it is. Eugene's comments says "Sh*t. MSVC++ and g++ use different
> methods of storing vtables." and manually implements the directshow api
> in plain C using pointers to functions. Nice work indeed. ;)
Yes I've already spend a lot of time to make it so easily portable to C
as this was my original goal as well - but as Arpi just wanted
faster solution I've prepared simplier and easier one...
> I manually converted a lot of code, resolving inheritance, vector
> templates and some other stuff that took a lot of work. But technically
> speaking it is not big deal.
yeah it's not - expect I want to have certain beauty in the code so
I do not want to just replace :: with _ :)
But as modification of plugin architecture requires some time - it's
postponned to 'after 0.6' release (which also has been already delayed
a lot)
As I mentined elsewhere - would be plugins in the encore/decore style
enough for you ?
(As I do not see any single point in compiling this 3 times for
avifile, mplayer, xine)
Anyway maybe we should really consider to create some standard here
(obviously somehow noone seems to accept gstreamer with theit tight
binding to C++ emulation glib2.0 C library)
I've proposed libmmxnow - but mplayer seems to be creating their
own compiler-time depended stuff - I do not have really that much time
to program nearly everything (though I'm trying as hard as I can)
but maybe xine team would be more cooperative here :)
(libmmxnow is not intended just for image processing - it should
be usable in the Sun's mediaLib style) and shall be crossplatform
bye
--
.''`. Which fundamental human right do you want to give up today?
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `' Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
`- Resistance is futile. You all will be packaged
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile