Re: [FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-18 Thread Xiaolei Yu
On 01/18/2016 03:52 AM, Mark Thompson wrote: > On 17/01/16 19:46, Mark Thompson wrote: >> On 17/01/16 18:46, wm4 wrote: >>> >>> There are two issues: >>> 1. global state in libav* which is not synchronized >>> 2. thread-safety within >>> >>> 1. is is completely unacceptable, because it can trigger

Re: [FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-17 Thread Mark Thompson
On 17/01/16 17:53, wm4 wrote: On Sun, 17 Jan 2016 17:34:55 + Mark Thompson wrote: From 2442c1aca8778167c2e60a34d03ed452737f1366 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 17 Jan 2016 15:48:54 + Subject: [PATCH 1/5] libavutil: Some VAAPI

Re: [FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-17 Thread Hendrik Leppkes
On Sun, Jan 17, 2016 at 7:13 PM, Mark Thompson wrote: > On 17/01/16 17:53, wm4 wrote: >> >> On Sun, 17 Jan 2016 17:34:55 + >> Mark Thompson wrote: >> >>> From 2442c1aca8778167c2e60a34d03ed452737f1366 Mon Sep 17 00:00:00 2001 >>> From: Mark Thompson

Re: [FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-17 Thread wm4
On Sun, 17 Jan 2016 18:13:50 + Mark Thompson wrote: > On 17/01/16 17:53, wm4 wrote: > > On Sun, 17 Jan 2016 17:34:55 + > > Mark Thompson wrote: > > > >> From 2442c1aca8778167c2e60a34d03ed452737f1366 Mon Sep 17 00:00:00 2001 > >> From: Mark Thompson

Re: [FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-17 Thread Mark Thompson
On 17/01/16 19:46, Mark Thompson wrote: On 17/01/16 18:46, wm4 wrote: There are two issues: 1. global state in libav* which is not synchronized 2. thread-safety within 1. is is completely unacceptable, because it can trigger undefined behavior if there is more than 1 libav* user in the same

[FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-17 Thread Mark Thompson
From 2442c1aca8778167c2e60a34d03ed452737f1366 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 17 Jan 2016 15:48:54 + Subject: [PATCH 1/5] libavutil: Some VAAPI infrastructure --- configure | 4 + libavutil/Makefile | 1 + libavutil/vaapi.c | 732

Re: [FFmpeg-devel] [PATCH 1/5] libavutil: Some VAAPI infrastructure

2016-01-17 Thread wm4
On Sun, 17 Jan 2016 17:34:55 + Mark Thompson wrote: > From 2442c1aca8778167c2e60a34d03ed452737f1366 Mon Sep 17 00:00:00 2001 > From: Mark Thompson > Date: Sun, 17 Jan 2016 15:48:54 + > Subject: [PATCH 1/5] libavutil: Some VAAPI infrastructure > > + >