Hello Mike,

Monday, September 10, 2001, 7:44:57 AM, you wrote:

MN> In message <[EMAIL PROTECTED]>, Rainer.Lay@informati
MN> 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]

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

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

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

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

If this is true, it's either a bug, because video_codecs vector is
supposed to be filled during libaviplay.so initialization, or a
feature that Zdenek added and didn't tell me ... Let's wait for his
comment.


-- 
Best regards,
 Eugene                            mailto:[EMAIL PROTECTED]



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

Reply via email to