> No. the point is, that you call CodecInfo::match(CodecInfo::Media
> cimedia, const char* pname) from AviWriteFile::AddVideoStream such,
> that "pname" isnt the "privatename", but the "name" of the
> CodecInfo. So, every comparison fails and no codec can be found.
Ohh that's what you want to have function - ok some functions
remained compatible with old naming convetion - but for quiet
some time short private names - like ffodivx should be used
- they are compatible with mplayer's naming convetion so there
is confusion between player.
Ok I'll add compare for both names.
> The thing with the "string()" is, that BaseInfo::GetName() returns a
> "const char *" and "pname" is also a "const char *", so the operator
> "==" will compare pointers instead of strings, if you just write
> "ci.GetName() == pname".
Which of course is much better solved by strcmp(a,b) == 0;
I'll try to add also backward compatible function call for VCR
--
.''`. Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `'
`- http://www.gaddis.org/what_really_happened.jpg
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile