Re: [libav-devel] [PATCH] pthread_frame: use better memory orders for frame progress

2016-12-09 Thread Wan-Teh Chang
On Fri, Dec 9, 2016 at 10:22 AM, Sean McGovern wrote: > Hi Wan-Teh, > [...] > Does this by any chance fix https://bugzilla.libav.org/show_bug.cgi?id=930 ? Hi Sean, No. My patch is completely unrelated to that bug. That bug is a crash caused by a null pointer dereference. The crash occurs when p

Re: [libav-devel] [PATCH 04/13] configure: Disentangle vfw32 and user32 lib handling

2016-12-09 Thread Diego Biurrun
On Fri, Dec 09, 2016 at 05:25:21PM +0100, Diego Biurrun wrote: > On Fri, Dec 09, 2016 at 04:25:31PM +0100, Hendrik Leppkes wrote: > > On Fri, Dec 9, 2016 at 3:52 PM, Diego Biurrun wrote: > > > On Mon, Dec 05, 2016 at 05:39:57PM +0100, Hendrik Leppkes wrote: > > >> On Tue, Nov 29, 2016 at 7:34 PM,

Re: [libav-devel] [PATCH] pthread_frame: use better memory orders for frame progress

2016-12-09 Thread Sean McGovern
Hi Wan-Teh, On Dec 9, 2016 12:55, "Wan-Teh Chang" wrote: This improves commit 59c70227405c214b29971e6272f3a3ff6fcce3d0. In ff_thread_report_progress(), the fast code path can load progress[field] with the relaxed memory order, and the slow code path can store progress[field] with the release me

[libav-devel] [PATCH] build: Add extralibs entries for tools and testprogs that need them

2016-12-09 Thread Diego Biurrun
--- Sent from the wrong branch, grmbl.. Makefile| 4 +--- configure | 18 +++--- library.mak | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 5d5438c..2a99105 100644 --- a/Makefile +++ b/Makefile @@ -119,9 +119,7 @@ FF_STATIC_D

[libav-devel] [PATCH] build: Add extralibs entries for tools and testprogs that need them

2016-12-09 Thread Diego Biurrun
--- This is to be squashed into the fine-grained linker deps patch, required to build libavutil/tests/cpu_init, which depends on pthreads. Makefile| 4 +--- configure | 18 +++--- library.mak | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Makefile b/M

Re: [libav-devel] [PATCH 2/7] configure: Simplify some library checks via check_lib()

2016-12-09 Thread Diego Biurrun
On Thu, Dec 08, 2016 at 09:02:09PM +0100, Diego Biurrun wrote: > --- > configure | 12 +--- > 1 file changed, 5 insertions(+), 7 deletions(-) OKed by Janne on IRC. Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org

Re: [libav-devel] [PATCH 04/13] configure: Disentangle vfw32 and user32 lib handling

2016-12-09 Thread Diego Biurrun
On Fri, Dec 09, 2016 at 04:25:31PM +0100, Hendrik Leppkes wrote: > On Fri, Dec 9, 2016 at 3:52 PM, Diego Biurrun wrote: > > On Mon, Dec 05, 2016 at 05:39:57PM +0100, Hendrik Leppkes wrote: > >> On Tue, Nov 29, 2016 at 7:34 PM, Diego Biurrun wrote: > >> > --- a/configure > >> > +++ b/configure > >

[libav-devel] [PATCH] vaapi: Support PAL8

2016-12-09 Thread Luca Barbato
It is used to allocate scratch buffers by the qsv hwaccel. --- libavutil/hwcontext_vaapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index b2e212c..e955add 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi

Re: [libav-devel] [PATCH 04/13] configure: Disentangle vfw32 and user32 lib handling

2016-12-09 Thread Hendrik Leppkes
On Fri, Dec 9, 2016 at 3:52 PM, Diego Biurrun wrote: > On Mon, Dec 05, 2016 at 05:39:57PM +0100, Hendrik Leppkes wrote: >> On Tue, Nov 29, 2016 at 7:34 PM, Diego Biurrun wrote: >> > --- a/configure >> > +++ b/configure >> > @@ -2382,7 +2382,6 @@ sndio_indev_deps="sndio_h" >> > vfwcap_indev_deps=

Re: [libav-devel] [PATCH] build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin

2016-12-09 Thread Luca Barbato
On 09/12/2016 15:47, Diego Biurrun wrote: > This is required to make certain math defines visible on modern Cygwin. > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 0ba4dd7..2c56096 100755 > --- a/configure > +++ b/configure

Re: [libav-devel] [PATCH 04/13] configure: Disentangle vfw32 and user32 lib handling

2016-12-09 Thread Diego Biurrun
On Mon, Dec 05, 2016 at 05:39:57PM +0100, Hendrik Leppkes wrote: > On Tue, Nov 29, 2016 at 7:34 PM, Diego Biurrun wrote: > > --- a/configure > > +++ b/configure > > @@ -2382,7 +2382,6 @@ sndio_indev_deps="sndio_h" > > vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines" > > -vfwcap_indev_ext

[libav-devel] [PATCH] build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin

2016-12-09 Thread Diego Biurrun
This is required to make certain math defines visible on modern Cygwin. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0ba4dd7..2c56096 100755 --- a/configure +++ b/configure @@ -4177,7 +4177,7 @@ probe_libc(){ # MinGW headers can

Re: [libav-devel] [PATCH] unary: Convert to the new bitstream reader

2016-12-09 Thread Luca Barbato
On 09/12/2016 09:42, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > > Sending now because it is a prerequisite for the already approved tta patch. > Should not hurt. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.or

Re: [libav-devel] [PATCH] avfilter/vf_hwupload_cuda: Add min/max limits for device option

2016-12-09 Thread Luca Barbato
On 09/12/2016 08:59, Ruta Gadkari wrote: > If the device index is over the actual maximum, cuDeviceGet in > hwcontext_cuda.c fails and error is returned. Perfect :) ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listin

Re: [libav-devel] [PATCH 7/7] build: Fine-grained link-time dependency settings

2016-12-09 Thread Diego Biurrun
On Thu, Dec 08, 2016 at 09:02:14PM +0100, Diego Biurrun wrote: > Previously, all link-time dependencies were added for all libraries, > resulting in bogus link-time dependencies since not all dependencies > are shared across libraries. Also, in some cases like libavutil, not > all dependencies were

[libav-devel] [PATCH] unary: Convert to the new bitstream reader

2016-12-09 Thread Diego Biurrun
From: Alexandra Hájková --- Sending now because it is a prerequisite for the already approved tta patch. libavcodec/aic.c | 2 +- libavcodec/alac.c | 2 +- libavcodec/alsdec.c| 3 ++- libavcodec/apedec.c| 2