<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Kaarlo Räihä wrote:
<blockquote
cite="mid:1243687092855.agent_007.12042.bEncSF6-zNWdrpJRs5ldyQ@luukku.com"
type="cite">You have to pass it manually because there isn't option
for this in VLC yet. If you look how the loopfilter option is
implemented, you should be able to figure out how to pass the threads
option to libavcodec. (it might also require some changes to source
code)<br>
</blockquote>
Results are same as before.<br>
FFdshow uses its own ffmpeg and ffmpeg-mt<br>
after viewing the <a
href="http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout/trunk/src/ffmpeg-mt/libavcodec/">svn
content</a>.<br>
There's no libavcodec/w32thread.c in ffdshow<br>
source.<br>
Looking at this file in ffmpeg-mt.git:master, show<br>
no support for thread_type FF_THREAD_FRAME.<br>
---<br>
int avcodec_thread_init(AVCodecContext *s, int thread_count){<br>
int i;<br>
ThreadContext *c;<br>
uint32_t threadid;<br>
<br>
if(!(s->thread_type & FF_THREAD_SLICE)){<br>
av_log(s, AV_LOG_WARNING, "The requested thread algorithm is
not supported with this thread library.\n");<br>
return 0;<br>
}<br>
<br>
s->thread_count= thread_count;<br>
s->active_thread_type= FF_THREAD_SLICE;<br>
---<br>
<br>
</body>
</html>