Thank you, this one is really usefull !<br><br>PS1: I saw your email that is @joost and gotta tell you: Joost rocks ! Keep on the good work !<br>PS2: Are you at joost using x264 to encode the streamed content? Also the A/V content in what format is it ? Is it in AVC or something proprietary? I saw that when I am watching a video, my CPU goes wild, so I suppose it is AVC ?
<br><br><br><div><span class="gmail_quote">On 6/5/07, <b class="gmail_sendername">Gabriel Bouvigne</b> <<a href="mailto:gabriel.bouvigne@joost.com">gabriel.bouvigne@joost.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Allow to build x264 using VC8/VC7. The current VC projects files seems<br>to be a bit outdated.<br><br>Regards,<br><br>--<br><br>Gabriel Bouvigne<br><br>Index: build/win32/libx264.vcproj<br>===================================================================
<br>--- build/win32/libx264.vcproj (revision 656)<br>+++ build/win32/libx264.vcproj (working copy)<br>@@ -1056,34 +1056,6 @@<br> </FileConfiguration><br> </File>
<br> <File<br>- RelativePath="..\..\common\i386\dct-c.c"><br>- <FileConfiguration<br>- Name="Release|Win32">
<br>- <Tool<br>- Name="VCCLCompilerTool"<br>- Optimization="2"
<br>- AdditionalIncludeDirectories=""<br>- PreprocessorDefinitions=""/><br>- </FileConfiguration>
<br>- <FileConfiguration<br>- Name="Debug|Win32"><br>- <Tool<br>- Name="VCCLCompilerTool"
<br>- Optimization="0"<br>- AdditionalIncludeDirectories=""<br>- PreprocessorDefinitions=""
<br>- BasicRuntimeChecks="3"/><br>- </FileConfiguration><br>- <FileConfiguration
<br>- Name="Release64|Win32"><br>- <Tool<br>- Name="VCCLCompilerTool"
<br>- Optimization="2"<br>- AdditionalIncludeDirectories=""<br>- PreprocessorDefinitions=""/>
<br>- </FileConfiguration><br>- </File><br>- <File<br> RelativePath="..\..\common\i386\dct.h">
<br> </File><br> <File<br>Index: common/frame.c<br>===================================================================<br>--- common/frame.c (revision 656)
<br>+++ common/frame.c (working copy)<br>@@ -23,7 +23,9 @@<br><br> #include <stdio.h><br> #include <string.h><br>+#ifndef _MSC_VER<br> #include <unistd.h><br>+#endif<br><br> #include "common.h"
<br><br>Index: encoder/analyse.c<br>===================================================================<br>--- encoder/analyse.c (revision 656)<br>+++ encoder/analyse.c (working copy)<br>@@ -26,7 +26,9 @@<br> #include <
string.h><br> #include <math.h><br> #include <limits.h><br>+#ifndef _MSC_VER<br> #include <unistd.h><br>+#endif<br><br> #include "common/common.h"<br> #include "macroblock.h"<br>Index: extras/getopt.c
<br>===================================================================<br>--- extras/getopt.c (revision 656)<br>+++ extras/getopt.c (working copy)<br>@@ -199,11 +199,15 @@<br> # define my_index strchr<br> #else
<br><br>-# if HAVE_STRING_H<br>-# include <string.h><br>-# else<br>-# include <strings.h><br>-# endif<br>+# if HAVE_STRING_H<br>+# include <string.h><br>+# else<br>+# ifdef _MSC_VER<br>+# include <
string.h><br>+# else<br>+# include <strings.h><br>+# endif<br>+# endif<br><br> /* Avoid depending on library functions or files<br> whose names are inconsistent. */<br>@@ -980,6 +984,16 @@<br> 0);
<br> }<br><br>+#ifdef _MSC_VER<br>+<br>+int<br>+getopt_long (argc, argv, optstring, long_options, opt_index)<br>+{<br>+ return _getopt_internal (argc, argv, optstring, long_options, opt_index, 0);<br>+}<br>+<br>+#endif<br>
+<br> #endif /* Not ELIDE_CODE. */<br><br> #ifdef TEST<br><br></blockquote></div><br>