Re: [libav-devel] API breakage with old avcodec_decode_* functions

2017-10-30 Thread Luca Barbato
On 30/10/2017 16:50, James Cowgill wrote: Hi, This is an issue which was reported in a number of places. I'm asking here since libav was the origin of the commit which broke things and hopefully someone here has an answer. https://trac.ffmpeg.org/ticket/6775 https://bugzilla.gnome.org/show_bug.

Re: [libav-devel] [PATCH 1/9] lavc: Add codec metadata to indicate hardware support

2017-10-30 Thread Anton Khirnov
Quoting Mark Thompson (2017-10-26 01:18:39) > --- > Rebased on the frame parameter changes, and incorporating all review comments > from last time. > > > doc/APIchanges | 3 +++ > libavcodec/avcodec.h | 74 > > libavcodec/hwaccel.h |

Re: [libav-devel] API breakage with old avcodec_decode_* functions

2017-10-30 Thread wm4
On Mon, 30 Oct 2017 15:50:58 + James Cowgill wrote: > Hi, > > This is an issue which was reported in a number of places. I'm asking > here since libav was the origin of the commit which broke things and > hopefully someone here has an answer. > > https://trac.ffmpeg.org/ticket/6775 > https:

Re: [libav-devel] API breakage with old avcodec_decode_* functions

2017-10-30 Thread Anton Khirnov
Hi, Quoting James Cowgill (2017-10-30 16:50:58) > Hi, > > This is an issue which was reported in a number of places. I'm asking > here since libav was the origin of the commit which broke things and > hopefully someone here has an answer. > > https://trac.ffmpeg.org/ticket/6775 > https://bugzilla

[libav-devel] API breakage with old avcodec_decode_* functions

2017-10-30 Thread James Cowgill
Hi, This is an issue which was reported in a number of places. I'm asking here since libav was the origin of the commit which broke things and hopefully someone here has an answer. https://trac.ffmpeg.org/ticket/6775 https://bugzilla.gnome.org/show_bug.cgi?id=789193 https://bugs.debian.org/879673

Re: [libav-devel] [PATCH v2] avconv.c: fix calculation of input file duration in seek_to_start()

2017-10-30 Thread Alexandra Hájková
On Mon, Oct 30, 2017 at 12:25 PM, Peter Große wrote: > Fixes looping files without audio or when using stream_copy, where > ist->nb_samples is not set since no decoding is done. > --- > avtools/avconv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/avtools/avconv.c

[libav-devel] [PATCH v2] avconv.c: fix calculation of input file duration in seek_to_start()

2017-10-30 Thread Peter Große
Fixes looping files without audio or when using stream_copy, where ist->nb_samples is not set since no decoding is done. --- avtools/avconv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avtools/avconv.c b/avtools/avconv.c index 4e3ffecdef..cee7a7b452 100644 --- a/avtool

Re: [libav-devel] [PATCH 2/2] avconv.c: fix calculation of input file duration in seek_to_start()

2017-10-30 Thread Peter Große
On Mon, 30 Oct 2017 05:41:17 +0100 Alexandra Hájková wrote: > On Sun, Oct 29, 2017 at 12:48 PM, Peter Große wrote: > > Fixes looping files without audio or when using stream_copy, where > > ist->nb_samples is not set since no decoding is done. > > > Does the loop discards the last frame becaus

Re: [libav-devel] [PATCH] configure: Stop using dlltool to create an import library

2017-10-30 Thread Luca Barbato
On 30/10/2017 10:46, Martin Storsjö wrote: There shouldn't be any functional difference between the import library created by dlltool and the one produced by the linker itself. Keep installing it with both names though, for compatibility with users that expect both to exist. The dlltool step was

[libav-devel] [PATCH] configure: Stop using dlltool to create an import library

2017-10-30 Thread Martin Storsjö
There shouldn't be any functional difference between the import library created by dlltool and the one produced by the linker itself. Keep installing it with both names though, for compatibility with users that expect both to exist. The dlltool step was added in ec10a9ab4; prior to that, a MSVC co

Re: [libav-devel] [PATCH 2/2] avconv.c: fix calculation of input file duration in seek_to_start()

2017-10-30 Thread Alexandra Hájková
> --- a/avtools/avconv.c > +++ b/avtools/avconv.c > @@ -2553,9 +2553,9 @@ static int seek_to_start(InputFile *ifile, > AVFormatContext *is) > continue; > } else { > if (ist->framerate.num) { > -duration = av_rescale_q(1, ist->framerate, > ist