[libav-devel] [PATCH] pcm: Add const to cast in ENCODE macro.

2011-04-18 Thread Diego Biurrun
This fixes a lot of warnings of the sort: libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type --- libavcodec/pcm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index e2a7334..9100646 100644 --- a/libavcod

[libav-devel] [PATCH] Replace `` by $() syntax in shell scripts.

2011-04-18 Thread Diego Biurrun
$() is easier to nest and POSIX, which we require in other places. --- tools/clean-diff |2 +- tools/patcheck | 14 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/clean-diff b/tools/clean-diff index 98e26a7..4600702 100755 --- a/tools/clean-diff +++ b/t

Re: [libav-devel] [PATCH] lavf: remove FF_API_URL_CLASS cruft.

2011-04-18 Thread Diego Biurrun
On Tue, Apr 19, 2011 at 07:28:27AM +0200, Anton Khirnov wrote: > --- > libavformat/avio.c |4 --- > libavformat/avio.h |2 - > libavformat/rtmpproto.c | 59 -- > libavformat/version.h |3 -- > 4 files changed, 26 insertions(+),

Re: [libav-devel] [PATCH 17/34] lavf: remove misc disabled cruft.

2011-04-18 Thread Anton Khirnov
On Mon, 18 Apr 2011 17:21:12 -0400, "Ronald S. Bultje" wrote: > Hi, > > On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > > --- > >  libavformat/avio.h |   13 - > >  1 files changed, 0 insertions(+), 13 deletions(-) > > > > diff --git a/libavformat/avio.h b/libavformat/avio.h

[libav-devel] [PATCH] lavf: remove FF_API_URL_CLASS cruft.

2011-04-18 Thread Anton Khirnov
--- libavformat/avio.c |4 --- libavformat/avio.h |2 - libavformat/rtmpproto.c | 59 -- libavformat/version.h |3 -- 4 files changed, 26 insertions(+), 42 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index

Re: [libav-devel] [PATCH 21/34] lavc: remove the FF_API_VIDEO_OLD cruft.

2011-04-18 Thread Vladimir Pantelic
Alexander Strange wrote: On Apr 18, 2011, at 3:03 AM, Anton Khirnov wrote: --- libavcodec/avcodec.h | 19 --- libavcodec/utils.c | 16 libavcodec/version.h |3 --- 3 files changed, 0 insertions(+), 38 deletions(-) diff --git a/libavcodec/avcodec.h

Re: [libav-devel] [PATCH] ac3enc: add channel coupling support

2011-04-18 Thread Ronald S. Bultje
Hi, On Sun, Apr 17, 2011 at 11:39 AM, Justin Ruggles wrote: > --- > This patch depends on the patch set I sent the other day. > >  doc/encoders.texi         |   33 ++ >  libavcodec/ac3.h          |    3 +- >  libavcodec/ac3dec.h       |    5 - >  libavcodec/ac3dec_data.c  |    6 - >  libavcodec/a

Re: [libav-devel] [PATCH 33/34] prefer avio_check() over url_exist()

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > From: Stefano Sabatini > > The problem with url_exist() is that it tries to open a resource in > RDONLY mode. If the file is a FIFO and there is already a reading > client, the open() call will hang. > > By using avio_check() with acces

Re: [libav-devel] [PATCH 20/34] lavc: remove the FF_API_AUDIO_OLD cruft.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > --- >  libavcodec/avcodec.h  |   27 --- >  libavcodec/resample.c |   11 --- >  libavcodec/utils.c    |   14 -- >  libavcodec/version.h  |    3 --- >  4 files changed, 0 insertions(+), 55 deleti

Re: [libav-devel] [PATCH] Make av_log_ask_for_sample() accept a format string.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 5:53 PM, Diego Biurrun wrote: > -void av_log_ask_for_sample(void *avc, const char *msg) > +void av_log_ask_for_sample(void *avc, const char *msg, ...) >  { >     if (msg) >         av_log(avc, AV_LOG_WARNING, "%s ", msg); I don't think this is sufficient to make it wo

Re: [libav-devel] [PATCH 21/34] lavc: remove the FF_API_VIDEO_OLD cruft.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 6:31 PM, Marty Jack wrote: > Personally I have cut over to libav and mplayer2.  I am heartened by the > energy > I see being put into cleanup and improvement, but I encourage you to keep your > API consumers uppermost in your mind. This is my feeling also. For now, w

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 6:29 PM, Alexander Strange wrote: > On Apr 18, 2011, at 4:21 PM, Ronald S. Bultje wrote: >> On Mon, Apr 18, 2011 at 11:35 AM, Reinhard Tartler >> wrote: >>> On Mon, Apr 18, 2011 at 15:17:20 (CEST), Kostya wrote: P.S. I still prefer to have big bump instead. >>>

Re: [libav-devel] [PATCH 21/34] lavc: remove the FF_API_VIDEO_OLD cruft.

2011-04-18 Thread Marty Jack
On 04/18/2011 06:23 PM, Johan Andersson wrote: > On Mon, Apr 18, 2011 at 06:20:17PM -0400, Alexander Strange wrote: >> >> On Apr 18, 2011, at 3:03 AM, Anton Khirnov wrote: >> >>> --- >>> libavcodec/avcodec.h | 19 --- >>> libavcodec/utils.c | 16 >>> libavcode

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Alexander Strange
On Apr 18, 2011, at 4:21 PM, Ronald S. Bultje wrote: > Hi, > > On Mon, Apr 18, 2011 at 11:35 AM, Reinhard Tartler > wrote: >> On Mon, Apr 18, 2011 at 15:17:20 (CEST), Kostya wrote: >>> P.S. I still prefer to have big bump instead. >> >> we all do ;-) > > So I guess this is dropped now? > >

Re: [libav-devel] [PATCH 21/34] lavc: remove the FF_API_VIDEO_OLD cruft.

2011-04-18 Thread Johan Andersson
On Mon, Apr 18, 2011 at 06:20:17PM -0400, Alexander Strange wrote: > > On Apr 18, 2011, at 3:03 AM, Anton Khirnov wrote: > > > --- > > libavcodec/avcodec.h | 19 --- > > libavcodec/utils.c | 16 > > libavcodec/version.h |3 --- > > 3 files changed, 0 insert

Re: [libav-devel] [PATCH 21/34] lavc: remove the FF_API_VIDEO_OLD cruft.

2011-04-18 Thread Alexander Strange
On Apr 18, 2011, at 3:03 AM, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 19 --- > libavcodec/utils.c | 16 > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 38 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcode

Re: [libav-devel] [PATCH 26/34] lavc: remove misc disabled cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:13AM +0200, Anton Khirnov wrote: > > --- a/libavcodec/xvmc.h > +++ b/libavcodec/xvmc.h > @@ -153,20 +148,6 @@ struct xvmc_pix_fmt { > int next_free_data_block_num; > > /** extensions may be placed here */ > -#if LIBAVCODEC_VERSION_MAJOR < 53 > -//@

[libav-devel] [PATCH] Use av_log_ask_for_sample() where appropriate.

2011-04-18 Thread Diego Biurrun
--- libavcodec/loco.c |2 +- libavcodec/wnv1.c |8 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libavcodec/loco.c b/libavcodec/loco.c index 0733d09..9dec24d 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -248,7 +248,7 @@ static av_cold int decode_init(

[libav-devel] [PATCH] Make av_log_ask_for_sample() accept a format string.

2011-04-18 Thread Diego Biurrun
This makes the function more flexible and allows using it in more places. --- libavcodec/avcodec.h |4 ++-- libavcodec/utils.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index df4e617..166a088 100644 --- a/libavcodec/

Re: [libav-devel] [PATCH] In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function.

2011-04-18 Thread Ronald S. Bultje
Hi, On Sun, Apr 17, 2011 at 5:01 PM, Justin Ruggles wrote: > > This fixes a bug where a successful call to ff_thread_init() masks errors that > occur after that point in the function.  It also makes future bugs like this > less likely since the error code is now set near to the point in the code

Re: [libav-devel] [PATCH 24/34] lavc: remove the FF_API_SET_STRING_OLD cruft.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > --- >  cmdutils.c           |    2 +- >  ffmpeg.c             |    2 +- >  ffplay.c             |    2 +- >  ffprobe.c            |    2 +- >  ffserver.c           |    2 +- >  libavcodec/opt.c     |   16 >  libavcodec/o

Re: [libav-devel] [PATCH 27/34] lavc: remove FF_API_HURRY_UP cruft

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > --- >  libavcodec/avcodec.h   |   10 -- >  libavcodec/h261dec.c   |    4 >  libavcodec/h263dec.c   |    8 >  libavcodec/h264.c      |   18 ++ >  libavcodec/mpeg12.c    |    8 >  libavcodec/m

Re: [libav-devel] [PATCH 34/34] avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 5:20 PM, Stefano Sabatini wrote: > On date Monday 2011-04-18 16:20:43 -0400, Ronald S. Bultje wrote: >> On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: >> > -#define AVIO_RDONLY 1  /**< read-only */ >> > -#define AVIO_WRONLY 2  /**< write-only */ >> > -#define A

Re: [libav-devel] [PATCH 32/34] lavu: remove misc disabled cruft

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > --- >  libavutil/error.h |   13 - >  libavutil/file.c  |    3 +-- >  libavutil/log.c   |    5 + >  libavutil/mem.c   |    6 +++--- >  libavutil/mem.h   |   14 +++--- >  5 files changed, 8 insertions(+), 33 deletio

Re: [libav-devel] [PATCH 17/34] lavf: remove misc disabled cruft.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > --- >  libavformat/avio.h |   13 - >  1 files changed, 0 insertions(+), 13 deletions(-) > > diff --git a/libavformat/avio.h b/libavformat/avio.h > index 62ea42c..c63b545 100644 > --- a/libavformat/avio.h > +++ b/libavformat/a

Re: [libav-devel] [PATCH 34/34] avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols

2011-04-18 Thread Stefano Sabatini
On date Monday 2011-04-18 16:20:43 -0400, Ronald S. Bultje wrote: > Hi, > > On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > > -#define AVIO_RDONLY 1  /**< read-only */ > > -#define AVIO_WRONLY 2  /**< write-only */ > > -#define AVIO_RDWR   4  /**< read-write */ > > +#define AVIO_FLAG_READ

Re: [libav-devel] Daily snapshots

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 23:15:11 (CEST), Marty Jack wrote: > Does libav intend to discontinue daily snapshot tarballs? > The last http://www.libav.org/releases/libav-snapshot.tar.bz2 is dated > 2011-Apr-07. In the meantime, you can use the tarballs published here: https://launchpad.net/~motumedi

Re: [libav-devel] [PATCH 26/34] lavc: remove misc disabled cruft.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > @@ -117,9 +111,7 @@ enum CodecID { >     CODEC_ID_QDRAW, >     CODEC_ID_VIXL, >     CODEC_ID_QPEG, > -#if LIBAVCODEC_VERSION_MAJOR < 53 > -    CODEC_ID_XVID, > -#endif > +    CODEC_ID_UNUSED_INTERNAL, No, that was not the intention. It

Re: [libav-devel] [PATCH 31/34] lavu: remove FF_API_OLD_IMAGE_NAMES cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:18AM +0200, Anton Khirnov wrote: > --- > libavutil/avutil.h |8 > libavutil/imgutils.c | 29 - > libavutil/imgutils.h | 19 --- > 3 files changed, 0 insertions(+), 56 deletions(-) OK Diego __

Re: [libav-devel] [PATCH 30/34] lavu: remove FF_API_OLD_EVAL_NAMES cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:17AM +0200, Anton Khirnov wrote: > --- > libavutil/avutil.h |3 --- > libavutil/eval.c | 32 > libavutil/eval.h | 33 - > 3 files changed, 0 insertions(+), 68 deletions(-) OK Diego

Re: [libav-devel] [PATCH 29/34] lavc: remove FF_API_MB_Q cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:16AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 16 > libavcodec/options.c |4 > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 23 deletions(-) OK Diego ___

Re: [libav-devel] [PATCH 28/34] lavc: remove FF_API_RATE_EMU cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:15AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 10 -- > libavcodec/options.c |3 --- > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 16 deletions(-) OK Diego ___ libav-

Re: [libav-devel] [PATCH] Remove now obsolete references to _g-suffixed binaries.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 5:13 PM, Diego Biurrun wrote: > --- >  doc/faq.texi        |    6 -- >  tests/copycooker.sh |    4 ++-- >  2 files changed, 2 insertions(+), 8 deletions(-) > > diff --git a/doc/faq.texi b/doc/faq.texi > index 3daf44f..a29af1e 100644 > --- a/doc/faq.texi > +++ b/doc

[libav-devel] Daily snapshots

2011-04-18 Thread Marty Jack
Does libav intend to discontinue daily snapshot tarballs? The last http://www.libav.org/releases/libav-snapshot.tar.bz2 is dated 2011-Apr-07. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH] Remove now obsolete references to _g-suffixed binaries.

2011-04-18 Thread Diego Biurrun
--- doc/faq.texi|6 -- tests/copycooker.sh |4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/doc/faq.texi b/doc/faq.texi index 3daf44f..a29af1e 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -415,12 +415,6 @@ be rewritten in a formal object language. Furt

Re: [libav-devel] [PATCH 25/34] lavc: remove the FF_API_INOFFICIAL cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:12AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h |3 --- > libavcodec/options.c |3 --- > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 9 deletions(-) OK Diego ___ libav-devel ma

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 22:21:51 (CEST), Ronald S. Bultje wrote: > Hi, > > On Mon, Apr 18, 2011 at 11:35 AM, Reinhard Tartler > wrote: >> On Mon, Apr 18, 2011 at 15:17:20 (CEST), Kostya wrote: >>> P.S. I still prefer to have big bump instead. >> >> we all do ;-) > > So I guess this is dropped no

Re: [libav-devel] [PATCH 23/34] lavc: remove the FF_API_USE_LPC cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:10AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 10 -- > libavcodec/flacenc.c | 11 --- > libavcodec/options.c |3 --- > libavcodec/version.h |3 --- > 4 files changed, 0 insertions(+), 27 deletions(-) OK Diego ___

Re: [libav-devel] [PATCH 22/34] lavc: remove the FF_API_SUBTITLE_OLD cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:09AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h |9 - > libavcodec/utils.c | 14 -- > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 26 deletions(-) OK Diego

Re: [libav-devel] [PATCH 21/34] lavc: remove the FF_API_VIDEO_OLD cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:08AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 19 --- > libavcodec/utils.c | 16 > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 38 deletions(-) OK Diego

Re: [libav-devel] [PATCH 19/34] lavc: remove the FF_API_OPT_SHOW cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:06AM +0200, Anton Khirnov wrote: > --- > libavcodec/opt.c |7 --- > libavcodec/opt.h |6 -- > libavcodec/version.h |3 --- > 3 files changed, 0 insertions(+), 16 deletions(-) OK Diego ___ libav-

Re: [libav-devel] [PATCH 18/34] lavc: remove the FF_API_MM_FLAGS cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:05AM +0200, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 19 --- > libavcodec/version.h |3 --- > 2 files changed, 0 insertions(+), 22 deletions(-) OK Diego ___ libav-devel mailing list libav-d

Re: [libav-devel] [PATCH 16/34] lavf: remove FF_API_INDEX_BUILT cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:03AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h |3 --- > libavformat/version.h |3 --- > 2 files changed, 0 insertions(+), 6 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.or

Re: [libav-devel] [PATCH 07/34] lavf: remove FF_API_UDP_GET_FILE cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:54AM +0200, Anton Khirnov wrote: > > --- a/libavformat/udp.c > +++ b/libavformat/udp.c > @@ -292,9 +292,7 @@ int ff_udp_get_local_port(URLContext *h) > * streams at the same time. > * @param h media file context > */ > -#if !FF_API_UDP_GET_FILE > static > -#end

Re: [libav-devel] [PATCH 15/34] lavf: remove FF_API_URL_CLASS cruft.

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:02AM +0200, Anton Khirnov wrote: > > --- a/libavformat/rtmpproto.c > +++ b/libavformat/rtmpproto.c > @@ -38,12 +38,7 @@ > > -/* we can't use av_log() with URLContext yet... */ > -#if FF_API_URL_CLASS > #define LOG_CONTEXT s > -#else > -#define LOG_CONTEXT NULL > -#

Re: [libav-devel] [PATCH 14/34] lavf: remove FF_API_SYMVER cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:01AM +0200, Anton Khirnov wrote: > --- > libavformat/utils.c | 32 > libavformat/version.h |3 --- > 2 files changed, 0 insertions(+), 35 deletions(-) OK Diego ___ libav-devel maili

Re: [libav-devel] [PATCH 13/34] lavf: remove FF_API_FIRST_FORMAT cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:03:00AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h |5 - > libavformat/utils.c| 10 ++ > libavformat/version.h |3 --- > 3 files changed, 2 insertions(+), 16 deletions(-) OK Diego __

Re: [libav-devel] [PATCH 12/34] lavf: remove FF_API_PARAMETERS_CODEC_ID cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:59AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h |4 > libavformat/version.h |3 --- > 2 files changed, 0 insertions(+), 7 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.o

Re: [libav-devel] [PATCH 11/34] lavf: remove FF_API_LAVF_UNUSED cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:58AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h |9 - > libavformat/version.h |3 --- > 2 files changed, 0 insertions(+), 12 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@l

Re: [libav-devel] [PATCH 10/34] lavf: remove FF_API_PARSE_FRAME_PARAM cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:57AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h | 16 > libavformat/utils.c| 18 -- > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 37 deletions(-) OK Diego ___

Re: [libav-devel] [PATCH 09/34] lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:56AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h |7 --- > libavformat/options.c |7 --- > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 17 deletions(-) OK Diego ___

Re: [libav-devel] [PATCH 08/34] lavf: remove FF_API_URL_SPLIT cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:55AM +0200, Anton Khirnov wrote: > --- > libavformat/internal.h | 12 > libavformat/utils.c| 18 -- > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 33 deletions(-) OK Diego ___

Re: [libav-devel] [PATCH 07/34] lavf: remove FF_API_UDP_GET_FILE cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:54AM +0200, Anton Khirnov wrote: > --- > libavformat/avio.h|4 > libavformat/udp.c |2 -- > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 9 deletions(-) OK Diego ___ libav-devel

Re: [libav-devel] [PATCH 06/34] lavf: remove FF_API_GUESS_FORMAT cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:53AM +0200, Anton Khirnov wrote: > --- > libavformat/avformat.h | 12 > libavformat/utils.c| 29 - > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 44 deletions(-) OK Diego

Re: [libav-devel] [PATCH 05/34] lavf: remove FF_API_REGISTER_PROTOCOL cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:52AM +0200, Anton Khirnov wrote: > --- > libavformat/avio.c| 23 --- > libavformat/avio.h| 16 > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 42 deletions(-) OK Diego _

Re: [libav-devel] [PATCH 04/34] lavf: remove FF_API_URL_RESETBUF cruft

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:02:51AM +0200, Anton Khirnov wrote: > --- > libavformat/avio.h|8 > libavformat/aviobuf.c | 11 --- > libavformat/version.h |3 --- > 3 files changed, 0 insertions(+), 22 deletions(-) OK Diego _

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 11:35 AM, Reinhard Tartler wrote: > On Mon, Apr 18, 2011 at 15:17:20 (CEST), Kostya wrote: >> P.S. I still prefer to have big bump instead. > > we all do ;-) So I guess this is dropped now? Ronald ___ libav-devel mailing li

Re: [libav-devel] [PATCH 34/34] avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 3:03 AM, Anton Khirnov wrote: > -#define AVIO_RDONLY 1  /**< read-only */ > -#define AVIO_WRONLY 2  /**< write-only */ > -#define AVIO_RDWR   4  /**< read-write */ > +#define AVIO_FLAG_READ  1                                      /**< > read-only */ > +#define AVIO_FL

Re: [libav-devel] [PATCH] libvo-aacenc, libvo-amrwbenc}: fix api usage

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 4:15 PM, Luca Barbato wrote: > Use the correct error codes and format identifier. > --- >  libavcodec/libvo-aacenc.c   |    8 >  libavcodec/libvo-amrwbenc.c |    2 +- >  2 files changed, 5 insertions(+), 5 deletions(-) All OK. Ronald

[libav-devel] [PATCH] libvo-aacenc,libvo-amrwbenc}: fix api usage

2011-04-18 Thread Luca Barbato
Use the correct error codes and format identifier. --- libavcodec/libvo-aacenc.c |8 libavcodec/libvo-amrwbenc.c |2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/libvo-aacenc.c b/libavcodec/libvo-aacenc.c index f2a19a1..5a75bcb 100644 --- a/libavc

Re: [libav-devel] [PATCH] Add a news entry for The Big Bump.

2011-04-18 Thread Stefano Sabatini
On date Monday 2011-04-18 19:33:40 +0200, Anton Khirnov wrote: > --- > src/index | 15 +++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/src/index b/src/index > index 59be7c7..89941ef 100644 > --- a/src/index > +++ b/src/index > @@ -35,6 +35,21 @@ with the lat

Re: [libav-devel] [PATCH] Add a news entry for The Big Bump.

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 19:33:40 (CEST), Anton Khirnov wrote: > --- > src/index | 15 +++ > 1 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/src/index b/src/index > index 59be7c7..89941ef 100644 > --- a/src/index > +++ b/src/index > @@ -35,6 +35,21 @@ with the late

[libav-devel] [RFC] AVPacketQueue

2011-04-18 Thread Luca Barbato
I'm planning to add to our api a shared queue, possibly replacing the one already present in ffplay. The main problem is that it assumes to be used in a threaded context so will be available only on thread enabled builds, so I'm unsure about what to do: - have it public, provide it using an opaqu

[libav-devel] [PATCH] Add a news entry for The Big Bump.

2011-04-18 Thread Anton Khirnov
--- src/index | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/index b/src/index index 59be7c7..89941ef 100644 --- a/src/index +++ b/src/index @@ -35,6 +35,21 @@ with the latest developments by subscribing to both the News +Apr 18 2011 + + +In prepar

Re: [libav-devel] How about the status of svn://svn.mplayerhq.hu/soc

2011-04-18 Thread Ronald S. Bultje
Hi Zhentan, On Mon, Apr 18, 2011 at 12:39 PM, zhentan feng wrote: > Hi > I can't access the svn server. > It says: svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused > Is it down temporarily or have been closed? I think the server is being moved. Could you work on gitorious or gi

[libav-devel] How about the status of svn://svn.mplayerhq.hu/soc

2011-04-18 Thread zhentan feng
Hi I can't access the svn server. It says: svn: Can't connect to host 'svn.mplayerhq.hu': Connection refused Is it down temporarily or have been closed? zhentan -- Best wishes~ ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/m

Re: [libav-devel] [PATCH] Replace mplayerhq.hu URLs with libav.org.

2011-04-18 Thread Justin Ruggles
On 04/17/2011 02:10 PM, Diego Biurrun wrote: > --- > src/contact | 12 ++-- > src/index |4 ++-- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/src/contact b/src/contact > index 0aca77c..5f1fe68 100644 > --- a/src/contact > +++ b/src/contact > @@ -69,17 +69,1

Re: [libav-devel] [PATCH] Replace mplayerhq.hu URLs by libav.org.

2011-04-18 Thread Justin Ruggles
On 04/17/2011 02:14 PM, Diego Biurrun wrote: > --- > libavcodec/nellymoserenc.c |2 +- > libavcodec/svq3.c |2 +- > libavcodec/utils.c |2 +- > libavformat/flic.c |2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/nellym

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 15:17:20 (CEST), Kostya wrote: > P.S. I still prefer to have big bump instead. we all do ;-) -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mail

Re: [libav-devel] [PATCH 03/34] lavf: remove FF_API_OLD_METADATA cruft

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 09:02:50 (CEST), Anton Khirnov wrote: > --- > libavformat/Makefile |1 - > libavformat/avformat.h| 39 --- > libavformat/metadata.c|7 -- > libavformat/metadata.h|5 -- > libavformat/metadata_compat.c | 148 > ---

Re: [libav-devel] [PATCH 02/34] lavf: remove FF_API_MAX_STREAMS cruft

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 09:02:49 (CEST), Anton Khirnov wrote: > --- > ffmpeg.c |2 -- > ffserver.c |6 -- > libavformat/avformat.h |8 > libavformat/mms.c |4 > libavformat/mpegts.c |5 - > libavformat/nutdec.c |4 --

Re: [libav-devel] [PATCH 01/34] lavf, lavc, lavu: bump major API version

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 09:02:48 (CEST), Anton Khirnov wrote: > They've accumulated enough new APIs and corresponding deprecated cruft. > > This breaks API and ABI. > --- > libavcodec/version.h |4 ++-- > libavformat/version.h |4 ++-- > libavutil/avutil.h|6 +++--- > 3 files cha

Re: [libav-devel] [RFC] make error resilience deterministic

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 10:09 AM, Ronald S. Bultje wrote: [..] New patch that makes vsynth2-error also deterministic with THREADS=2. There's some races in ER but I don't care too much about this to be honest. Alexander, do you care to fill in the FIXMEs? With this, make fate works with THRE

Re: [libav-devel] [RFC][PATCH] AVIO_* access symbols after libavformat major bump

2011-04-18 Thread Anton Khirnov
On Mon, 18 Apr 2011 15:50:48 +0200, Stefano Sabatini wrote: > On date Monday 2011-04-18 11:24:01 +0200, Stefano Sabatini wrote: > > On date Monday 2011-04-18 08:06:36 +0200, Anton Khirnov wrote: > > [...] > > > > diff --git a/libavformat/file.c b/libavformat/file.c > > > > index 9d28a89..39f784c

Re: [libav-devel] [PATCH 01/34] lavf, lavc, lavu: bump major API version

2011-04-18 Thread Anton Khirnov
On Mon, 18 Apr 2011 13:42:37 +0200, Stefano Sabatini wrote: > On date Monday 2011-04-18 13:06:45 +0200, Anton Khirnov wrote: > > On Mon, 18 Apr 2011 11:52:36 +0200, Stefano Sabatini > > wrote: > > > On date Monday 2011-04-18 09:02:48 +0200, Anton Khirnov wrote: > > > > They've accumulated enoug

Re: [libav-devel] [RFC] make error resilience deterministic

2011-04-18 Thread Kostya
On Mon, Apr 18, 2011 at 10:09:01AM -0400, Ronald S. Bultje wrote: > Hi, > > I'd like some eyes on this patch and it's visual effects. > > To test, please try "ffplay tests/data/vsynth1/error-mpeg4-adv.avi" > before and after applying the patch. Also see: > http://ronald.bitfreak.net/images/er.png

[libav-devel] [RFC] make error resilience deterministic

2011-04-18 Thread Ronald S. Bultje
Hi, I'd like some eyes on this patch and it's visual effects. To test, please try "ffplay tests/data/vsynth1/error-mpeg4-adv.avi" before and after applying the patch. Also see: http://ronald.bitfreak.net/images/er.png Where left is always after the patch and right is before. Some people on IRC al

Re: [libav-devel] [RFC][PATCH] AVIO_* access symbols after libavformat major bump

2011-04-18 Thread Stefano Sabatini
On date Monday 2011-04-18 11:24:01 +0200, Stefano Sabatini wrote: > On date Monday 2011-04-18 08:06:36 +0200, Anton Khirnov wrote: > [...] > > > diff --git a/libavformat/file.c b/libavformat/file.c > > > index 9d28a89..39f784c 100644 > > > --- a/libavformat/file.c > > > +++ b/libavformat/file.c > >

Re: [libav-devel] [PATCH] asfdec: Remove dead code from asf_read_close().

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 09:16:49AM -0400, Ronald S. Bultje wrote: > > On Sun, Apr 17, 2011 at 1:48 PM, Diego Biurrun wrote: > > > > --- a/libavformat/asfdec.c > > +++ b/libavformat/asfdec.c > > @@ -1132,12 +1132,8 @@ static void asf_reset_header(AVFormatContext *s) > > > >  static int asf_read_cl

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Kostya
On Mon, Apr 18, 2011 at 03:16:30PM +0200, Kostya wrote: > On Mon, Apr 18, 2011 at 10:30:12AM +0200, Reinhard Tartler wrote: > > --- > > libavcodec/avcodec.h |2 ++ > > libavcodec/avpacket.c | 14 ++ > > 2 files changed, 16 insertions(+), 0 deletions(-) > > > > diff --git a/liba

Re: [libav-devel] [PATCH] asfdec: Remove dead code from asf_read_close().

2011-04-18 Thread Ronald S. Bultje
Hi, On Sun, Apr 17, 2011 at 1:48 PM, Diego Biurrun wrote: > --- >  libavformat/asfdec.c |    6 +- >  1 files changed, 1 insertions(+), 5 deletions(-) > > diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c > index 36e9efa..8dc5291 100644 > --- a/libavformat/asfdec.c > +++ b/libavformat/a

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Kostya
On Mon, Apr 18, 2011 at 10:30:12AM +0200, Reinhard Tartler wrote: > --- > libavcodec/avcodec.h |2 ++ > libavcodec/avpacket.c | 14 ++ > 2 files changed, 16 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index df4e617..907fbb3 10064

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 4:30 AM, Reinhard Tartler wrote: > --- >  libavcodec/avcodec.h  |    2 ++ >  libavcodec/avpacket.c |   14 ++ >  2 files changed, 16 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index df4e617..907fbb3 100644 >

Re: [libav-devel] [PATCH 1/3] introduce side information for AVPacket

2011-04-18 Thread Luca Barbato
On 04/18/2011 02:26 PM, Reinhard Tartler wrote: > In this case, I seek for approval of the proposed patch to delay the > sidechannel introduction via #ifdeffery. The patch should be extended but I agree with the idea. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___

Re: [libav-devel] [PATCH 1/3] introduce side information for AVPacket

2011-04-18 Thread Reinhard Tartler
On Mon, Apr 18, 2011 at 12:53:50 (CEST), Martin Storsjö wrote: > On Mon, 18 Apr 2011, Ronald S. Bultje wrote: > >> Hi, >> >> On Mon, Apr 18, 2011 at 1:04 AM, Reinhard Tartler >> wrote: >> > On Fri, Apr 15, 2011 at 18:05:48 (CEST), Luca Barbato wrote: >> > >> >> diff --git a/libavcodec/avcodec.h

Re: [libav-devel] [PATCH 01/34] lavf, lavc, lavu: bump major API version

2011-04-18 Thread Stefano Sabatini
On date Monday 2011-04-18 13:06:45 +0200, Anton Khirnov wrote: > On Mon, 18 Apr 2011 11:52:36 +0200, Stefano Sabatini > wrote: > > On date Monday 2011-04-18 09:02:48 +0200, Anton Khirnov wrote: > > > They've accumulated enough new APIs and corresponding deprecated cruft. > > > > > > This breaks

Re: [libav-devel] [FFmpeg-devel] [RFC] Error code fixes before the Big Bump

2011-04-18 Thread Stefano Sabatini
[adding libav-devel to recipients, as this concerns API/ABI compatibility] On date Saturday 2011-04-16 19:12:34 +0200, Nicolas George encoded: > Le septidi 27 germinal, an CCXIX, Stefano Sabatini a écrit : > > * implement AVERROR_EOF as a libav* specific error code, rather than > > mask the EPIP

Re: [libav-devel] [PATCH 01/34] lavf, lavc, lavu: bump major API version

2011-04-18 Thread Anton Khirnov
On Mon, 18 Apr 2011 11:52:36 +0200, Stefano Sabatini wrote: > On date Monday 2011-04-18 09:02:48 +0200, Anton Khirnov wrote: > > They've accumulated enough new APIs and corresponding deprecated cruft. > > > > This breaks API and ABI. > > Please wait so that we can fix the few remaining error co

Re: [libav-devel] [PATCH 1/3] introduce side information for AVPacket

2011-04-18 Thread Martin Storsjö
On Mon, 18 Apr 2011, Ronald S. Bultje wrote: > Hi, > > On Mon, Apr 18, 2011 at 1:04 AM, Reinhard Tartler wrote: > > On Fri, Apr 15, 2011 at 18:05:48 (CEST), Luca Barbato wrote: > > > >> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > >> index 109d2a4..df4e617 100644 > >> --- a/libavco

Re: [libav-devel] [PATCH 1/3] introduce side information for AVPacket

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 1:04 AM, Reinhard Tartler wrote: > On Fri, Apr 15, 2011 at 18:05:48 (CEST), Luca Barbato wrote: > >> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h >> index 109d2a4..df4e617 100644 >> --- a/libavcodec/avcodec.h >> +++ b/libavcodec/avcodec.h >> @@ -1035,6 +103

Re: [libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Luca Barbato
On 04/18/2011 10:30 AM, Reinhard Tartler wrote: > --- > libavcodec/avcodec.h |2 ++ > libavcodec/avpacket.c | 14 ++ > 2 files changed, 16 insertions(+), 0 deletions(-) I guess that is missing side data usage, but you are right regarding guarding till the bump. Another way mig

Re: [libav-devel] [PATCH 01/34] lavf, lavc, lavu: bump major API version

2011-04-18 Thread Stefano Sabatini
On date Monday 2011-04-18 09:02:48 +0200, Anton Khirnov wrote: > They've accumulated enough new APIs and corresponding deprecated cruft. > > This breaks API and ABI. Please wait so that we can fix the few remaining error code issues (alternatively this can be delayed to the unstableness period ri

Re: [libav-devel] [RFC][PATCH] AVIO_* access symbols after libavformat major bump

2011-04-18 Thread Stefano Sabatini
On date Monday 2011-04-18 08:06:36 +0200, Anton Khirnov wrote: [...] > > diff --git a/libavformat/file.c b/libavformat/file.c > > index 9d28a89..39f784c 100644 > > --- a/libavformat/file.c > > +++ b/libavformat/file.c > > @@ -60,9 +60,9 @@ static int file_open(URLContext *h, const char *filename,

[libav-devel] [PATCH] schedule the sidechannel extensions for after the next major bump

2011-04-18 Thread Reinhard Tartler
--- libavcodec/avcodec.h |2 ++ libavcodec/avpacket.c | 14 ++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index df4e617..907fbb3 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1060,6 +1060,7 @@ ty

[libav-devel] [PATCH] asfdec: Remove asf_read_close() wrapper around asf_reset_header().

2011-04-18 Thread Diego Biurrun
--- libavformat/asfdec.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 36e9efa..ad87927 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1096,7 +1096,7 @@ static int asf_read_packet(AVFormatCo

[libav-devel] asfdec: Remove dead code from asf_read_close() - try 2

2011-04-18 Thread Diego Biurrun
Here is another attempt that folds asf_read_close() into asf_reset_header(). It may read a bit strange since now the close function has a strange name, so maybe it is better to fold the other way around. Diego ___ libav-devel mailing list libav-devel@l

Re: [libav-devel] [PATCH] Use av_log_ask_for_sample() where appropriate.

2011-04-18 Thread Diego Biurrun
On Sun, Apr 17, 2011 at 05:56:38PM -0400, Ronald S. Bultje wrote: > > On Sun, Apr 17, 2011 at 5:43 PM, Diego Biurrun wrote: > > --- a/libavcodec/ptx.c > > +++ b/libavcodec/ptx.c > > @@ -51,14 +51,14 @@ static int ptx_decode_frame(AVCodecContext *avctx, void > > *data, int *data_size, > > > >    

Re: [libav-devel] [PATCH] document introduction of side data in APIchanges

2011-04-18 Thread Diego Biurrun
On Mon, Apr 18, 2011 at 08:32:14AM +0200, Kostya Shishkov wrote: > this should've been written earlier, sorry > > --- a/doc/APIchanges > +++ b/doc/APIchanges > @@ -12,6 +12,11 @@ libavutil: 2009-03-08 > > +2011-04-15 - lavc 52.120.0 - avcodec.h > + AVPacket structure got additional members fo

[libav-devel] [PATCH 34/34] avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols

2011-04-18 Thread Anton Khirnov
From: Stefano Sabatini Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API. --- ffmpeg.c |2 +- ffserver.c |8 ---

[libav-devel] [PATCH 33/34] prefer avio_check() over url_exist()

2011-04-18 Thread Anton Khirnov
From: Stefano Sabatini The problem with url_exist() is that it tries to open a resource in RDONLY mode. If the file is a FIFO and there is already a reading client, the open() call will hang. By using avio_check() with access mode of 0, the second reading process will check if the file exists wi

  1   2   >