Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-15 Thread Matt Oliver
On 15 October 2015 at 07:35, Michael Niedermayer wrote: > On Thu, Oct 15, 2015 at 02:46:21AM +0800, Wang Bin wrote: > > > > > compat/w32pthreads.h |5 + > > configure|7 +++ > > libavutil/cpu.c |8 +++- > > 3 files changed, 19 insertions(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-14 Thread Michael Niedermayer
On Thu, Oct 15, 2015 at 02:46:21AM +0800, Wang Bin wrote: > > compat/w32pthreads.h |5 + > configure|7 +++ > libavutil/cpu.c |8 +++- > 3 files changed, 19 insertions(+), 1 deletion(-) > 252925c34c8d2b6f09ce0fd40c2923494b005a7a > 0001-winrt-multithread

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-14 Thread Wang Bin
0001-winrt-multithreading-support.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-09 Thread Wang Bin
I will update the patch next week ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-07 Thread Matt Oliver
On 2 October 2015 at 05:14, Hendrik Leppkes wrote: > On Thu, Oct 1, 2015 at 9:05 PM, wm4 wrote: > > On Fri, 2 Oct 2015 02:58:52 +0800 > > Wang Bin wrote: > > > >> From b8b5ad2d6510778111c2a03ae5cfbe727ee6 Mon Sep 17 00:00:00 2001 > >> From: wang-bin > >> Date: Tue, 29 Sep 2015 18:11:03 +08

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-01 Thread Hendrik Leppkes
On Thu, Oct 1, 2015 at 9:05 PM, wm4 wrote: > On Fri, 2 Oct 2015 02:58:52 +0800 > Wang Bin wrote: > >> From b8b5ad2d6510778111c2a03ae5cfbe727ee6 Mon Sep 17 00:00:00 2001 >> From: wang-bin >> Date: Tue, 29 Sep 2015 18:11:03 +0800 >> Subject: [PATCH] winrt: multithreading support >> >> _beginth

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-01 Thread wm4
On Fri, 2 Oct 2015 02:58:52 +0800 Wang Bin wrote: > From b8b5ad2d6510778111c2a03ae5cfbe727ee6 Mon Sep 17 00:00:00 2001 > From: wang-bin > Date: Tue, 29 Sep 2015 18:11:03 +0800 > Subject: [PATCH] winrt: multithreading support > > _beginthreadex is for desktop only. CreateThread is available

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-01 Thread Wang Bin
Seems that the function style macro is always evaluated. So gcc gives an error at WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) if WINAPI_FAMILY_PARTITION is not defined. Now I copy the macros from configure. 0001-winrt-multithreading-support.patch Description: Binary data ___

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-09-30 Thread Michael Niedermayer
On Wed, Sep 30, 2015 at 09:54:37PM +0800, Wang Bin wrote: > > > > with minng64: > > compat/w32pthreads.h:40:55: error: missing binary operator before token "(" > > > Which toolchain? What host os? Usually I use the toolchain from x86_64-w64-mingw32-gcc (GCC) 4.6.3 on ubuntu IIRC its the mingw sh

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-09-30 Thread Wang Bin
> > with minng64: > compat/w32pthreads.h:40:55: error: missing binary operator before token "(" Which toolchain? What host os? Usually I use the toolchain from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/ I can try mingw about 24

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-09-29 Thread Michael Niedermayer
On Wed, Sep 30, 2015 at 02:18:29AM +0800, wang-bin wrote: > --- > compat/w32pthreads.h | 11 +++ > configure| 4 > libavutil/cpu.c | 11 ++- > 3 files changed, 25 insertions(+), 1 deletion(-) with minng64: compat/w32pthreads.h:40:55: error: missing binary op

[FFmpeg-devel] [PATCH] winrt: multithreading support

2015-09-29 Thread wang-bin
--- compat/w32pthreads.h | 11 +++ configure| 4 libavutil/cpu.c | 11 ++- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h index 87e816f..9828e8a 100644 --- a/compat/w32pthreads.h +++ b/compat/w32pthr