In message <[EMAIL PROTECTED]>, Rainer.Lay@informati
k.uni-erlangen.de writes:

> Hi all,
> 
> I have a problem, which could be related to thit one.
> 
> I am getting a segfault while changing the codec in a avicap session.
> Pressing the codec button, results in the following backtrace:
>
> [gdb session deleted for brevity]

I've noticed, that changing the codec in avicap does work AFTER a
capture. This (and a little source digging) gave me the idea, that the
PluginFill() function not being called might be the problem here.

PluginFill() is called from the 4 creator functions
Creators::Create{Video,Audio}{Encoder,Decoder}() only. Now, if one tries
to change the codec without doing a capture before, none of this
functions is called and the video_codecs vector is empty.

The vcr tool (a command line capture program that uses avifile, see
http://www.stack.nl/~brama/vcr) has the same problem. I tried to fix
that, but I didn't find a clean way to trigger the PluginFill() call
(besides calling Creators::CreateVideoEncoder() with bogus parameters).

So what it is the "official" way to get a list of available video
codecs?

Mike

-- 
Dr. Michael Neuhauser             Phone: +43(1)205-255/201
maxxio technologies               Fax:   +43(1)205-255/900
Prinz Eugen-Strasse 8             Email: [EMAIL PROTECTED]
A-1040 Vienna/Austria/Europe



_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to