[libav-devel] [PATCH 3/3] avconv: fix parsing the AVOptions for -target

2014-08-25 Thread Anton Khirnov
CC: libav-sta...@libav.org --- avconv_opt.c | 4 1 file changed, 4 insertions(+) diff --git a/avconv_opt.c b/avconv_opt.c index 33ac290..2d06912 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -1870,6 +1870,10 @@ static int opt_target(void *optctx, const char *opt, const char *arg)

[libav-devel] [PATCH 2/3] avconv: fix the muxrate values for -target

2014-08-25 Thread Anton Khirnov
The mpegenc private option values are in 50-byte units. CC: libav-sta...@libav.org --- avconv_opt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avconv_opt.c b/avconv_opt.c index f070b99..33ac290 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -1803,7 +1803,7 @@ static

[libav-devel] [PATCH 1/3] mpegenc: limit the maximum muxrate

2014-08-25 Thread Anton Khirnov
It is written to the file as a 22-bit value. CC: libav-sta...@libav.org --- libavformat/mpegenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 1ba7647..88590b3 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c

Re: [libav-devel] [PATCH 0/6] matroska 3d

2014-08-25 Thread Anton Khirnov
On Sun, 24 Aug 2014 21:10:04 -0400, Vittorio Giovara wrote: > On Fri, Aug 15, 2014 at 6:51 AM, Vittorio Giovara > wrote: > > Here is the set with the changes and the comments received. > > 1 and 2 did not change, so they should be already OK. > > Cheers, > > Vittorio > > > > Vittorio Giovar

Re: [libav-devel] [PATCH 6/6] mkv: support multistream stereo tracks

2014-08-25 Thread Anton Khirnov
On Fri, 15 Aug 2014 11:51:13 +0100, Vittorio Giovara wrote: > Partially based on a patch by Aurelien Jacobs . > --- > libavformat/matroska.h| 7 +++ > libavformat/matroskadec.c | 110 > ++ > 2 files changed, 117 insertions(+) > > diff --git a/

Re: [libav-devel] [PATCH] h264: fully check cropping amount from sps

2014-08-25 Thread Luca Barbato
On 26/08/14 02:50, Vittorio Giovara wrote: > Even if sps.crop is true, the cropping amount may be zero. > Fixes a sample with a valid but broken container cropping. > --- > libavcodec/h264_slice.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Should not hurt even if I wonder why a

[libav-devel] [PATCH] h264: fully check cropping amount from sps

2014-08-25 Thread Vittorio Giovara
Even if sps.crop is true, the cropping amount may be zero. Fixes a sample with a valid but broken container cropping. --- libavcodec/h264_slice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 83d3426..69aed1d 100644 -

Re: [libav-devel] [PATCH] doc: fix a typo

2014-08-25 Thread Luca Barbato
On 25/08/14 22:13, Timothy Gu wrote: > On Mon, Aug 25, 2014 at 12:28 PM, Gabriel Dume > wrote: >> Subject: [libav-devel] [PATCH] doc: fix a typo > > > APIChanges: fix a typo No, the doc: tag is correct. lu ___ libav-devel mailing list libav-devel@li

Re: [libav-devel] [PATCH] doc: fix a typo

2014-08-25 Thread Timothy Gu
On Mon, Aug 25, 2014 at 12:28 PM, Gabriel Dume wrote: > Subject: [libav-devel] [PATCH] doc: fix a typo APIChanges: fix a typo > --- > doc/APIchanges | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) LGTM. [...] Timothy ___ libav-devel mailin

[libav-devel] [PATCH] doc: fix a typo

2014-08-25 Thread Gabriel Dume
--- doc/APIchanges | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 6d1f061..76e7a02 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -123,7 +123,7 @@ API changes, most recent first: AVCodecContext. 2014-05-15 - 0c1959b - lavf 55.17

Re: [libav-devel] [PATCH 02/17] os_support: Adjust an outdated #endif comment

2014-08-25 Thread Alexandra Hájková
On Fri, Aug 15, 2014 at 10:13 PM, Diego Biurrun wrote: > --- > libavformat/os_support.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/os_support.h b/libavformat/os_support.h > index ae8cef7..94cb0d3 100644 > --- a/libavformat/os_support.h > +++ b/libavforma

Re: [libav-devel] [PATCH] vfwcap: Add fallback define for HWND_MESSAGE

2014-08-25 Thread Luca Barbato
On 25/08/14 17:51, Diego Biurrun wrote: > On Mon, Aug 25, 2014 at 05:44:39PM +0200, Luca Barbato wrote: >> On 25/08/14 17:27, Diego Biurrun wrote: >>> Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition. >>> --- >>> >>> This should also go in release/11. >> >> And 10 and 9 an

Re: [libav-devel] [PATCH] vfwcap: Add fallback define for HWND_MESSAGE

2014-08-25 Thread Diego Biurrun
On Mon, Aug 25, 2014 at 05:44:39PM +0200, Luca Barbato wrote: > On 25/08/14 17:27, Diego Biurrun wrote: > > Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition. > > --- > > > > This should also go in release/11. > > And 10 and 9 and 0.8 I guess. No, only 11 has the commit

Re: [libav-devel] [PATCH] vfwcap: Add fallback define for HWND_MESSAGE

2014-08-25 Thread Luca Barbato
On 25/08/14 17:27, Diego Biurrun wrote: > Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition. > --- > > This should also go in release/11. And 10 and 9 and 0.8 I guess. lu ___ libav-devel mailing list libav-devel@libav.org http

Re: [libav-devel] [PATCH] vfwcap: Add fallback define for HWND_MESSAGE

2014-08-25 Thread Diego Biurrun
On Mon, Aug 25, 2014 at 05:27:49PM +0200, Diego Biurrun wrote: > --- a/libavdevice/vfwcap.c > +++ b/libavdevice/vfwcap.c > @@ -27,6 +27,11 @@ > > +/* Some obsolete versions of MinGW32 before 4.0.0 lack this. */ > +#ifndef HWND_MESSAGE > +#define HWND_MESSAGE((HWND)-3) > +#endif O

[libav-devel] [PATCH] vfwcap: Add fallback define for HWND_MESSAGE

2014-08-25 Thread Diego Biurrun
Some obsolete versions of the MinGW32 runtime (<4.0.0) lack the definition. --- This should also go in release/11. libavdevice/vfwcap.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 420fdb4..e2f51db 100644 --- a/libavdevice/vfwcap.c ++

Re: [libav-devel] [PATCH] mpegts: Allow custom max resync size

2014-08-25 Thread Luca Barbato
On 25/08/14 15:06, Kieran Kunhya wrote: > On 25 August 2014 11:33, Luca Barbato wrote: >> +#define MPEGTS_OPTIONS \ >> +{ "resync_size", "Size limit for looking up a new sincronization.", >> offsetof(MpegTSContext, resync_size), AV_OPT_TYPE_INT, { .i64 = >> MAX_RESYNC_SIZE}, 0, INT_MAX,

Re: [libav-devel] [PATCH] mpegts: Allow custom max resync size

2014-08-25 Thread Kieran Kunhya
On 25 August 2014 11:33, Luca Barbato wrote: > +#define MPEGTS_OPTIONS \ > +{ "resync_size", "Size limit for looking up a new sincronization.", > offsetof(MpegTSContext, resync_size), AV_OPT_TYPE_INT, { .i64 = > MAX_RESYNC_SIZE}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM } Synchronisation

Re: [libav-devel] [PATCH 04/16] lavc: add codec parameters

2014-08-25 Thread Anton Khirnov
On Mon, 25 Aug 2014 12:50:40 +0200, Janne Grunau wrote: > On 2014-08-24 13:00:11 +, Anton Khirnov wrote: > > --- > > libavcodec/avcodec.h | 145 > > +++ > > libavcodec/utils.c | 144 > > ++ > >

Re: [libav-devel] [PATCH 04/16] lavc: add codec parameters

2014-08-25 Thread Janne Grunau
On 2014-08-24 13:00:11 +, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 145 > +++ > libavcodec/utils.c | 144 ++ > 2 files changed, 289 insertions(+) > > diff --git a/libavcodec/avcodec.h

[libav-devel] [PATCH] mpegts: Allow custom max resync size

2014-08-25 Thread Luca Barbato
--- libavformat/mpegts.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index dced537..d0a4724 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -126,6 +126,8 @@ struct MpegTSContext { /**

Re: [libav-devel] [PATCH] vc1: Fix the skip condition

2014-08-25 Thread Luca Barbato
On 24/08/14 19:37, Luca Barbato wrote: > As written in the comment above, skip must be added only if a > start code is found. > --- > libavcodec/vc1_parser.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Put in libav11 as well. ___ li

Re: [libav-devel] [PATCH] mpeg: Write H264 streams at offset 2

2014-08-25 Thread Luca Barbato
On 25/08/14 03:03, Vittorio Giovara wrote: > On Fri, Aug 8, 2014 at 7:07 AM, Luca Barbato wrote: >> It hints that the content is H264 according to HD-DVD. >> --- >> >> libavformat/mpeg.h| 1 + >> libavformat/mpegenc.c | 13 + >> 2 files changed, 10 insertions(+), 4 deletions(-) >

Re: [libav-devel] [PATCH] libavformat: use MSG_NOSIGNAL when applicable

2014-08-25 Thread Martin Storsjö
On Sun, 24 Aug 2014, Vittorio Giovara wrote: On Wed, Aug 20, 2014 at 4:06 PM, Rémi Denis-Courmont wrote: If the remote end of a connection oriented socket hangs up, generating an EPIPE error is preferable over an unhandled SIGPIPE signal. --- libavformat/network.h | 4 libavformat/sctp.c