Re: [libav-devel] [PATCH] flic: do not set audio sample format. that is done by the decoder.

2011-04-21 Thread Tomas Härdin
Justin Ruggles skrev 2011-04-20 18:48: On 04/20/2011 03:29 AM, Tomas Härdin wrote: Justin Ruggles skrev 2011-04-20 01:17: diff --git a/libavformat/flic.c b/libavformat/flic.c index fcdf4c8..ad39d66 100644 --- a/libavformat/flic.c +++ b/libavformat/flic.c @@ -158,7 +158,6 @@ static int flic_rea

[libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-21 Thread Reinhard Tartler
This unbreaks static compilation against libav when using pkg-config, like mplayer2 does Taken from on a patch from "Uoti Urpal " http://repo.or.cz/w/FFMpeg-mirror/mplayer-patches.git/commitdiff/65e612b5943fe79a6aaf83c0f48a1e4a0f739ffc?hp=0d0f1bc11ec7c8f81a61c1fa4a6bc0048ad10f30 --- configure |

Re: [libav-devel] [PATCH] add CODEC_CAP_SLICE_THREADS and allow forcing slice/frame threads in FATE

2011-04-21 Thread Alexander Strange
On Wed, Apr 20, 2011 at 4:23 PM, Ronald Bultje wrote: > Hi, > > see attached. > > Ronald As far as I see the only thing this lets us do is not start a few threads if codecs won't call execute(). Is that right? That's fine with me, especially once we autodetect threads. (By the way, does anyone

Re: [libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-21 Thread Reinhard Tartler
On Thu, Apr 21, 2011 at 09:48:44 (CEST), Reinhard Tartler wrote: > This unbreaks static compilation against libav when using pkg-config, > like mplayer2 does > > Taken from on a patch from "Uoti Urpal " > http://repo.or.cz/w/FFMpeg-mirror/mplayer-patches.git/commitdiff/65e612b5943fe79a6aaf83c0f48a

Re: [libav-devel] [PATCH] add CODEC_CAP_SLICE_THREADS and allow forcing slice/frame threads in FATE

2011-04-21 Thread Reinhard Tartler
On Thu, Apr 21, 2011 at 09:55:16 (CEST), Alexander Strange wrote: > On Wed, Apr 20, 2011 at 4:23 PM, Ronald Bultje wrote: >> Hi, >> >> see attached. >> >> Ronald > > As far as I see the only thing this lets us do is not start a few > threads if codecs won't call execute(). Is that right? > > That

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

2011-04-21 Thread Stefano Sabatini
On date Wednesday 2011-04-20 11:26:02 -0400, Ronald S. Bultje wrote: > Hi, > > On Wed, Apr 20, 2011 at 8:57 AM, Anton Khirnov wrote: > > On Mon, 18 Apr 2011 13:35:48 +0200, Stefano Sabatini > > wrote: > >> [adding libav-devel to recipients, as this concerns API/ABI compatibility] > >> > >> On d

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

2011-04-21 Thread Stefano Sabatini
On date Thursday 2011-04-21 10:52:49 +0200, Stefano Sabatini wrote: > On date Wednesday 2011-04-20 11:26:02 -0400, Ronald S. Bultje wrote: [...] > I'm updating the patchset, will post as separate mails soon. No need, I see they've been already applied, thanks. -- Prevent forest fires. ___

Re: [libav-devel] [PATCH] update last major version increase dates in APIchanges

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 11:47:46AM -0400, Justin Ruggles wrote: > On 04/20/2011 04:43 AM, Diego Biurrun wrote: > > > On Tue, Apr 19, 2011 at 07:37:58PM -0400, Justin Ruggles wrote: > >> > >> --- a/doc/APIchanges > >> +++ b/doc/APIchanges > >> @@ -1,13 +1,13 @@ > >> Never assume the API of libav*

Re: [libav-devel] [PATCH 1/2] doc: Add some initial docs on the applehttp demuxer

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 11:08:39PM +0300, Martin Storsjö wrote: > --- > doc/demuxers.texi |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/l

Re: [libav-devel] [PATCH 2/2] applehttp: Expose the stream bitrate via metadata

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 09:43:06AM +0300, Martin Storsjö wrote: > > Updated locally with an entry in avformat.h. Anyone care to ok the > preceding doc addition? Or just commit this without adding it to the > demuxer docs, keeping it only in the metadata key list in avformat.h? Don't worry about

Re: [libav-devel] [PATCH] Scalar: Multiple ouput with different resolutions, Issue 2040

2011-04-21 Thread Reinhard Tartler
On Thu, Mar 17, 2011 at 22:59:20 (CET), Luca Barbato wrote: > On 3/17/11 9:07 PM, Manjunath Siddaiah wrote: >> Hi, >> >> >> If "CONFIG_AVFILTER" is enabled, scaling goes through filtering path. >> Since "AVFilterContext" variables are in >> [...] >> The solution is to move the "AVFilterContext"

Re: [libav-devel] [PATCH 1/2] doc: Add some initial docs on the applehttp demuxer

2011-04-21 Thread Anton Khirnov
On Wed, 20 Apr 2011 23:08:39 +0300, Martin Storsjö wrote: > --- > doc/demuxers.texi |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/doc/demuxers.texi b/doc/demuxers.texi > index bbdde9c..4168fc1 100644 > --- a/doc/demuxers.texi > +++ b/doc/demuxers.texi > @@

Re: [libav-devel] [PATCH] FFmpeg lavfi cherrypicks

2011-04-21 Thread Reinhard Tartler
On Wed, Apr 20, 2011 at 21:45:07 (CEST), Anton Khirnov wrote: > Hi, > this patch series contains all the relevant changes to lavfi not present > in Libav. > > Note that patch 28 "vsrc_buffer: support changing pixel formats" breaks > the lavf-pixfmt test in Libav (but not in ffmpeg) for some reason

[libav-devel] [PATCH] libavdevice: Define _XOPEN_SOURCE for usleep

2011-04-21 Thread Martin Storsjö
This hopefully fixes build failures on Dragonfly BSD. --- It's untested in practice, but all other files that use usleep define _XOPEN_SOURCE=600. libavdevice/bktr.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index 3e705a0..ab7

Re: [libav-devel] [PATCH 2/2] Darwin/MacOS X: allow user-specifiedlibrary install path

2011-04-21 Thread Reinhard Tartler
On Wed, Mar 16, 2011 at 22:29:43 (CET), Sean McGovern wrote: > No, this is a patch I've had locally for ages now and just wanted to make > sure I didn't lose it and also gauge(sp?) reaction to have it committed > publicly. > > I use it when I build MPlayer OS X packages -- it saves me having to

[libav-devel] [PATCH] Provide a fallback version of the libm function trunc

2011-04-21 Thread Martin Storsjö
This fixes compilation on DOS. --- configure|2 ++ libavutil/libm.h |7 +++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 32c3544..dd44ba4 100755 --- a/configure +++ b/configure @@ -1119,6 +1119,7 @@ HAVE_LIST=" sys_videoio_h

Re: [libav-devel] [PATCH] add CODEC_CAP_SLICE_THREADS and allow forcing slice/frame threads in FATE

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 3:55 AM, Alexander Strange wrote: > On Wed, Apr 20, 2011 at 4:23 PM, Ronald Bultje wrote: >> see attached. >> >> Ronald > > As far as I see the only thing this lets us do is not start a few > threads if codecs won't call execute(). Is that right? > > That's fine with

Re: [libav-devel] [PATCH] libavdevice: Define _XOPEN_SOURCE for usleep

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 01:52:31PM +0300, Martin Storsjö wrote: > This hopefully fixes build failures on Dragonfly BSD. > --- > It's untested in practice, but all other files that use usleep > define _XOPEN_SOURCE=600. Should be OK if even for consistency, so go for it and push. Diego __

Re: [libav-devel] [PATCH] Provide a fallback version of the libm function trunc

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 02:03:56PM +0300, Martin Storsjö wrote: > This fixes compilation on DOS. > --- > configure|2 ++ > libavutil/libm.h |7 +++ > 2 files changed, 9 insertions(+), 0 deletions(-) OK Diego ___ libav-devel mailing

[libav-devel] [PATCH] error: sort, pack, and align error code and string definitions

2011-04-21 Thread Stefano Sabatini
Beautify. Signed-off-by: Stefano Sabatini --- libavutil/error.c | 24 libavutil/error.h | 20 2 files changed, 20 insertions(+), 24 deletions(-) diff --git a/libavutil/error.c b/libavutil/error.c index 252007a..ddcc038 100644 --- a/libavutil/err

Re: [libav-devel] [PATCH] error: sort, pack, and align error code and string definitions

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 7:36 AM, Stefano Sabatini wrote: > Beautify. > > Signed-off-by: Stefano Sabatini > --- >  libavutil/error.c |   24 >  libavutil/error.h |   20 >  2 files changed, 20 insertions(+), 24 deletions(-) OK with me. Ronald

Re: [libav-devel] [PATCH] update last major version increase dates in APIchanges

2011-04-21 Thread Justin Ruggles
On 04/21/2011 06:40 AM, Diego Biurrun wrote: > On Wed, Apr 20, 2011 at 11:47:46AM -0400, Justin Ruggles wrote: >> On 04/20/2011 04:43 AM, Diego Biurrun wrote: >> >>> On Tue, Apr 19, 2011 at 07:37:58PM -0400, Justin Ruggles wrote: --- a/doc/APIchanges +++ b/doc/APIchanges @@ -1,

Re: [libav-devel] [PATCH 08/35] fade: make draw_slice() chroma check against planes 1 and 2

2011-04-21 Thread Justin Ruggles
On 04/20/2011 03:45 PM, Anton Khirnov wrote: > From: Mark Himsley > > draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data > are not NULL before manipulating planes 1 and 2. This patch makes the > check against planes 1 and 2. More senseful and possibly more robust. > > Signed-of

Re: [libav-devel] [PATCH 09/35] fade: fix draw_slice() check on fade->factor value

2011-04-21 Thread Justin Ruggles
On 04/20/2011 03:45 PM, Anton Khirnov wrote: > From: Mark Himsley > > draw_slice() checks that the fade factor is < 65536 and only > calculates the fade if so. But the fade factor is clipped in > end_frame() by av_clip_uint16() to 65535, so the fade is calculated > for every frame. This patch a

[libav-devel] [PATCH] The stabilization period after version bumps should be one month, not one week.

2011-04-21 Thread Diego Biurrun
--- doc/APIchanges |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index a9faaf9..24ba7b1 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -1,5 +1,6 @@ -Never assume the API of libav* to be stable unless at least 1 week has passed si

Re: [libav-devel] [PATCH] The stabilization period after version bumps should be one month, not one week.

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 10:01 AM, Diego Biurrun wrote: > --- >  doc/APIchanges |    5 +++-- >  1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index a9faaf9..24ba7b1 100644 > --- a/doc/APIchanges > +++ b/doc/APIchanges > @@ -1,5 +1,6 @@ > -N

Re: [libav-devel] [PATCH 10/35] crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

2011-04-21 Thread Justin Ruggles
On 04/20/2011 03:45 PM, Anton Khirnov wrote: > From: Peter Ross > > Signed-off-by: Anton Khirnov > --- > libavfilter/vf_crop.c |1 + > tests/ref/lavfi/pixfmts_crop_le |2 ++ > 2 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/libavfilter/vf_crop.c b/libavfilt

Re: [libav-devel] [vlc-commits] Update av* code to use new APIs after Libav Big Bump.

2011-04-21 Thread Reinhard Tartler
The following message is a courtesy copy of an article that has been posted to gmane.comp.video.videolan.vlc.devel as well. On Wed, Apr 20, 2011 at 03:13:21 (CEST), Pierre Ynard wrote: >> vlc | branch: master | Konstantin Pavlov | Tue >> Apr 19 15:12:36 2011 +0400| [4308323da50d235ef4ac87cd1a044

[libav-devel] [PATCH] swscale: Add missing const qualifiers in sws_scale() / check_image_pointers().

2011-04-21 Thread Diego Biurrun
This fixes the following warnings: libswscale/swscale.c:1836: warning: passing argument 1 of ‘check_image_pointers’ from incompatible pointer type libswscale/swscale.c:1806: note: expected ‘uint8_t **’ but argument is of type ‘const uint8_t * const*’ libswscale/swscale.c:1840: warning: passing ar

Re: [libav-devel] [PATCH] error: sort, pack, and align error code and string definitions

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 08:40:29AM -0400, Ronald S. Bultje wrote: > > On Thu, Apr 21, 2011 at 7:36 AM, Stefano Sabatini > wrote: > > Beautify. > > > > Signed-off-by: Stefano Sabatini > > --- > >  libavutil/error.c |   24 > >  libavutil/error.h |   20

Re: [libav-devel] [PATCH]: Fix decoding of mpegts streams with h264 video that does *NOT* have b frames

2011-04-21 Thread Tony Strauss
Reposting, as I had the the ffmpeg-devel e-mail address wrong (was using the old one) On Tue, Apr 19, 2011 at 11:46 PM, Tony Strauss wrote: > I'm cross-posting to ffmpeg-devel and libav-devel, as this issue > exists in both codebases. I've attached the patch and reproduced > below. I don't hav

Re: [libav-devel] [PATCH 12/35] setdar: prefer "sar" over "par" in log info message

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:19PM +0200, Anton Khirnov wrote: > > This is more consistent with the terminology adopted by the aspect > filter names. OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/l

Re: [libav-devel] [PATCH 13/35] graphparser: add a NULL check on the argument passed to strstr

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:20PM +0200, Anton Khirnov wrote: > > Fix crash in create_filter() which occurrs if a scale filter with no > args is provided. OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/list

Re: [libav-devel] [PATCH 14/35] yadif: Fix assert() failure

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:21PM +0200, Anton Khirnov wrote: > From: Michael Niedermayer The log message for this commit is in need of improvement. Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/liba

Re: [libav-devel] [PATCH 30/35] vsrc_buffer.h: add multiple inclusion guards

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:37PM +0200, Anton Khirnov wrote: > From: Stefano Sabatini OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 31/35] vsrc_buffer.h: add file doxy

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:38PM +0200, Anton Khirnov wrote: > From: Stefano Sabatini OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 05/35] drawtext: fix and optimize yuv blend.

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:12PM +0200, Anton Khirnov wrote: > From: Michael Niedermayer > > --- a/libavfilter/vf_drawtext.c > +++ b/libavfilter/vf_drawtext.c > @@ -385,12 +385,14 @@ static int config_input(AVFilterLink *inlink) > > +if(((x) & ((1<<(hsub))-1))==0 && ((y) & ((1<<(vsub))-1)

Re: [libav-devel] [PATCH 20/35] scale: implement interlaced scaling.

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:27PM +0200, Anton Khirnov wrote: > From: Michael Niedermayer Please reformat as K&R, poor Stefano is getting his pet project uglified. Let's keep it proper on our side. Diego ___ libav-devel mailing list libav-devel@libav

Re: [libav-devel] [PATCH 29/35] vsrc_buffer: tweak error message in init()

2011-04-21 Thread Diego Biurrun
On Wed, Apr 20, 2011 at 09:45:36PM +0200, Anton Khirnov wrote: > From: Stefano Sabatini OK Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 05/35] drawtext: fix and optimize yuv blend.

2011-04-21 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: > From: Michael Niedermayer > > Signed-off-by: Michael Niedermayer > Signed-off-by: Anton Khirnov > --- >  libavfilter/vf_drawtext.c |   10 ++ >  1 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_d

Re: [libav-devel] [PATCH 14/35] yadif: Fix assert() failure

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 8:46 AM, Diego Biurrun wrote: > On Wed, Apr 20, 2011 at 09:45:21PM +0200, Anton Khirnov wrote: >> From: Michael Niedermayer > > The log message for this commit is in need of improvement. > We're going in circles here. Feel free to *suggest* a message.

Re: [libav-devel] [PATCH] swscale: Add missing const qualifiers in sws_scale() / check_image_pointers().

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 7:44 AM, Diego Biurrun wrote: > This fixes the following warnings: > libswscale/swscale.c:1836: warning: passing argument 1 of > ‘check_image_pointers’ from incompatible pointer type > libswscale/swscale.c:1806: note: expected ‘uint8_t **’ but argument is of > type ‘const

Re: [libav-devel] [PATCH 20/35] scale: implement interlaced scaling.

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 8:57 AM, Diego Biurrun wrote: > On Wed, Apr 20, 2011 at 09:45:27PM +0200, Anton Khirnov wrote: >> From: Michael Niedermayer > > Please reformat as K&R, poor Stefano is getting his pet project > uglified.  Let's keep it proper on our side. > I object to this objection. ___

Re: [libav-devel] [PATCH 20/35] scale: implement interlaced scaling.

2011-04-21 Thread Aℓex Converse
2011/4/21 Aℓex Converse : > On Thu, Apr 21, 2011 at 8:57 AM, Diego Biurrun wrote: >> On Wed, Apr 20, 2011 at 09:45:27PM +0200, Anton Khirnov wrote: >>> From: Michael Niedermayer >> >> Please reformat as K&R, poor Stefano is getting his pet project >> uglified.  Let's keep it proper on our side. >

[libav-devel] [PATCH] AVX FFT

2011-04-21 Thread Vitor Sessak
$subj -Vitor >From 314bf4d021fc411f268f6f33c4515fac44df9145 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Thu, 21 Apr 2011 18:45:38 +0200 Subject: [PATCH] Add AVX FFT implementation --- libavcodec/binkaudio.c |2 +- libavcodec/fft.c | 57 +- libavcodec/fft.h

Re: [libav-devel] [PATCH] AVX FFT

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 9:47 AM, Vitor Sessak wrote: > $subj > > -Vitor > libavcodec/binkaudio.c |2 +- libavcodec/fft.c | 57 +- libavcodec/fft.h |3 +- libavcodec/imc.c |2 +- libavcodec/qdm2.c |2 +- libavcodec/wmavoice.c |

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

2011-04-21 Thread Diego Biurrun
--- libavcodec/atrac3.c |6 -- libavcodec/cook.c| 17 ++--- libavcodec/loco.c|3 ++- libavcodec/truemotion1.c |4 ++-- libavcodec/tta.c |5 +++-- libavcodec/v210x.c |2 +- libavcodec/wnv1.c|8 ++-- libavformat

Re: [libav-devel] [PATCH 32/35] lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.

2011-04-21 Thread Justin Ruggles
On 04/20/2011 03:45 PM, Anton Khirnov wrote: > From: Roger Pau Monné > > Signed-off-by: Anton Khirnov > --- > cmdutils.c|2 ++ > doc/APIchanges|3 +++ > libavfilter/avfilter.h|4 +++- > libavfilter/vsrc_buffer.c |4 > 4 files changed, 12 ins

[libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Diego Biurrun
Do not call av_log_ask_for_sample() from av_log_missing_feature() depending on the value of a flag parameter. Instead, call av_log_ask_for_sample() directly where this is desired. This simplifies av_log_missing_feature() and makes for a nicer API. --- libavcodec/aac_adtstoasc_bsf.c |5 +++-- l

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

2011-04-21 Thread Justin Ruggles
On 04/21/2011 01:02 PM, Diego Biurrun wrote: > --- > libavcodec/atrac3.c |6 -- > libavcodec/cook.c| 17 ++--- > libavcodec/loco.c|3 ++- > libavcodec/truemotion1.c |4 ++-- > libavcodec/tta.c |5 +++-- > libavcodec/v210x.c |

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

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 1:19 PM, Justin Ruggles wrote: > On 04/21/2011 01:02 PM, Diego Biurrun wrote: > >> --- >>  libavcodec/atrac3.c      |    6 -- >>  libavcodec/cook.c        |   17 ++--- >>  libavcodec/loco.c        |    3 ++- >>  libavcodec/truemotion1.c |    4 ++-- >>  

Re: [libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Justin Ruggles
On 04/21/2011 01:10 PM, Diego Biurrun wrote: > Do not call av_log_ask_for_sample() from av_log_missing_feature() depending on > the value of a flag parameter. Instead, call av_log_ask_for_sample() directly > where this is desired. This simplifies av_log_missing_feature() and makes for > a nicer AP

[libav-devel] [PATCH 2/4] Add APIchanges entry for request_sample_fmt.

2011-04-21 Thread Justin Ruggles
--- doc/APIchanges |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 24ba7b1..e1baaa0 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,9 @@ libavutil: 2011-04-18 API changes, most recent first: +2011-xx-xx - xxx

[libav-devel] [PATCH 1/4] Add request_sample_fmt field to AVCodecContext.

2011-04-21 Thread Justin Ruggles
This will allow audio decoders to support output of different sample formats as a runtime option. --- libavcodec/avcodec.h |7 +++ libavcodec/options.c |6 ++ libavcodec/version.h |2 +- 3 files changed, 14 insertions(+), 1 deletions(-) diff --git a/libavcodec/avcodec.h b/lib

[libav-devel] [PATCH 3/4] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-21 Thread Justin Ruggles
Based on patches by Michael Niedermayer . --- ffmpeg.c| 40 +++ libavcodec/aacdec.c | 25 +++ libavcodec/ac3dec.c | 34 -- libavcodec/dca.c| 34 +

[libav-devel] [PATCH 4/4] When audio parameters change, do not resample audio if resampling was not done prior to the change and only the sample format changes.

2011-04-21 Thread Justin Ruggles
This is needed because opening the decoder can change the sample format after stream initialization. The resampling criteria should be the same before and after the change. --- ffmpeg.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 9476bdf.

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

2011-04-21 Thread Ronald S. Bultje
Hi, diego asked for more detail. On Thu, Apr 21, 2011 at 1:02 PM, Diego Biurrun wrote: > diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c [..] > -    if (off) > -        av_log(NULL,AV_LOG_DEBUG,"Offset of %d not handled, post sample on > ffmpeg-dev.\n",off); > +    if (off) { > +        

Re: [libav-devel] [PATCH 1/4] Add request_sample_fmt field to AVCodecContext.

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 01:23:14PM -0400, Justin Ruggles wrote: > > --- a/libavcodec/version.h > +++ b/libavcodec/version.h > @@ -21,7 +21,7 @@ > #define AVCODEC_VERSION_H > > #define LIBAVCODEC_VERSION_MAJOR 53 > -#define LIBAVCODEC_VERSION_MINOR 0 > +#define LIBAVCODEC_VERSION_MINOR 1 > #

Re: [libav-devel] [PATCH 3/4] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 01:23:16PM -0400, Justin Ruggles wrote: > > --- a/libavcodec/aacdec.c > +++ b/libavcodec/aacdec.c > @@ -2494,7 +2507,7 @@ AVCodec ff_aac_decoder = { > .sample_fmts = (const enum AVSampleFormat[]) { > -AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE > +AV_SAMPLE_FM

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

2011-04-21 Thread Diego Biurrun
--- libavcodec/cook.c| 12 ++-- libavcodec/truemotion1.c |4 ++-- libavcodec/tta.c |5 +++-- libavcodec/v210x.c |2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 7717c4b..0e792af 100644 --

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

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 1:39 PM, Diego Biurrun wrote: > --- >  libavcodec/cook.c        |   12 ++-- >  libavcodec/truemotion1.c |    4 ++-- >  libavcodec/tta.c         |    5 +++-- >  libavcodec/v210x.c       |    2 +- >  4 files changed, 12 insertions(+), 11 deletions(-) OK. Ronald

Re: [libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 10:10 AM, Diego Biurrun wrote: > Do not call av_log_ask_for_sample() from av_log_missing_feature() depending on > the value of a flag parameter. Instead, call av_log_ask_for_sample() directly > where this is desired. This simplifies av_log_missing_feature() and makes for >

Re: [libav-devel] [PATCH 1/4] Add request_sample_fmt field to AVCodecContext.

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 10:23 AM, Justin Ruggles wrote: > > This will allow audio decoders to support output of different sample formats > as a runtime option. > --- >  libavcodec/avcodec.h |    7 +++ >  libavcodec/options.c |    6 ++ >  libavcodec/version.h |    2 +- >  3 files changed, 1

Re: [libav-devel] [vlc-commits] Update av* code to use new APIs after Libav Big Bump.

2011-04-21 Thread Anton Khirnov
On Thu, 21 Apr 2011 16:19:34 +0200, Reinhard Tartler wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.comp.video.videolan.vlc.devel as well. > > On Wed, Apr 20, 2011 at 03:13:21 (CEST), Pierre Ynard wrote: > > >> vlc | branch: master | Konstantin P

Re: [libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Diego Biurrun
On Thu, Apr 21, 2011 at 10:56:07AM -0700, Aℓex Converse wrote: > On Thu, Apr 21, 2011 at 10:10 AM, Diego Biurrun wrote: > > Do not call av_log_ask_for_sample() from av_log_missing_feature() depending > > on > > the value of a flag parameter. Instead, call av_log_ask_for_sample() > > directly > >

Re: [libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 11:02 AM, Diego Biurrun wrote: > On Thu, Apr 21, 2011 at 10:56:07AM -0700, Aℓex Converse wrote: >> On Thu, Apr 21, 2011 at 10:10 AM, Diego Biurrun wrote: >> > Do not call av_log_ask_for_sample() from av_log_missing_feature() >> > depending on >> > the value of a flag para

Re: [libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Ronald S. Bultje
Hi, 2011/4/21 Aℓex Converse : > On Thu, Apr 21, 2011 at 11:02 AM, Diego Biurrun wrote: >> On Thu, Apr 21, 2011 at 10:56:07AM -0700, Aℓex Converse wrote: >>> On Thu, Apr 21, 2011 at 10:10 AM, Diego Biurrun wrote: >>> > Do not call av_log_ask_for_sample() from av_log_missing_feature() >>> > depen

Re: [libav-devel] [PATCH 2/4] Add APIchanges entry for request_sample_fmt.

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 10:23 AM, Justin Ruggles wrote: > --- >  doc/APIchanges |    3 +++ >  1 files changed, 3 insertions(+), 0 deletions(-) > +1 assuming values are filled in before pushing. ___ libav-devel mailing list libav-devel@libav.org https://

Re: [libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 11:09 AM, Ronald S. Bultje wrote: > Hi, > > 2011/4/21 Aℓex Converse : >> On Thu, Apr 21, 2011 at 11:02 AM, Diego Biurrun wrote: >>> On Thu, Apr 21, 2011 at 10:56:07AM -0700, Aℓex Converse wrote: On Thu, Apr 21, 2011 at 10:10 AM, Diego Biurrun wrote: > Do not cal

Re: [libav-devel] [PATCH] AVX FFT

2011-04-21 Thread Loren Merritt
avx version of `fft-test -n 4` errors out, and -n 3 crashes. Likewise for mdct up to -n 6. --Loren Merrittdiff --git a/libavcodec/fft.c b/libavcodec/fft.c index a5c9b39..5bd8463 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -99,13 +99,9 @@ static const int avx_tab[] = { static int i

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

2011-04-21 Thread Aℓex Converse
On Thu, Apr 21, 2011 at 10:39 AM, Diego Biurrun wrote: > --- >  libavcodec/cook.c        |   12 ++-- >  libavcodec/truemotion1.c |    4 ++-- >  libavcodec/tta.c         |    5 +++-- >  libavcodec/v210x.c       |    2 +- >  4 files changed, 12 insertions(+), 11 deletions(-) > > diff --git a

Re: [libav-devel] [PATCH 1/4] Add request_sample_fmt field to AVCodecContext.

2011-04-21 Thread Justin Ruggles
On 04/21/2011 01:23 PM, Justin Ruggles wrote: > > This will allow audio decoders to support output of different sample formats > as a runtime option. > --- > libavcodec/avcodec.h |7 +++ > libavcodec/options.c |6 ++ > libavcodec/version.h |2 +- > 3 files changed, 14 inserti

[libav-devel] [PATCH] Remove RDFT dependency from AAC decoder.

2011-04-21 Thread Aℓex Converse
$subj From 557176d961c70604c2a96d81aff4bd6faa670d8a Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Thu, 21 Apr 2011 12:11:42 -0700 Subject: [PATCH] Remove RDFT dependency from AAC decoder. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1" This is a multi-part message i

Re: [libav-devel] [FFmpeg-devel] [PATCH]: Fix decoding of mpegts streams with h264 video that does *NOT* have b frames

2011-04-21 Thread Tony Strauss
On Thu, Apr 21, 2011 at 3:34 PM, Mike Scheutzow wrote: > > Tony Strauss wrote: >>> >>> You can reproduce by running: >>> ffprobe -loglevel debug -show_packets 720.no_b_frames.ts > > This .ts file does not look valid to me. I find no start codes in the video > elementary stream. As far as I know,

Re: [libav-devel] [FFmpeg-devel] [PATCH]: Fix decoding of mpegts streams with h264 video that does *NOT* have b frames

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 4:22 PM, Tony Strauss wrote: > On Thu, Apr 21, 2011 at 3:34 PM, Mike Scheutzow > wrote: >> Tony Strauss wrote: >>> The >>> key thing is that this file was encoded without b frames, so pts == >>> dts for every frame. >> >> It requires more than "no B frames" for this s

Re: [libav-devel] [PATCH] Remove RDFT dependency from AAC decoder.

2011-04-21 Thread Luca Barbato
On 4/21/11 9:39 PM, Aℓex Converse wrote: $subj ok ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-21 Thread Martin Storsjö
Setting this should fix the FATE build failure on DragonFly BSD, since inet_aton only is visible if __BSD_VISIBLE is set. Alternatively, a line defining __BSD_VISIBLE=1 could be added at the top of os_support.c. For FreeBSD, similar lines are required in libavdevice/bktr.c and libavdevice/oss_audi

Re: [libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-21 Thread Ronald S. Bultje
Hi, On Thu, Apr 21, 2011 at 5:48 PM, Martin Storsjö wrote: > Setting this should fix the FATE build failure on DragonFly BSD, > since inet_aton only is visible if __BSD_VISIBLE is set. > > Alternatively, a line defining __BSD_VISIBLE=1 could be > added at the top of os_support.c. For FreeBSD, sim

Re: [libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-21 Thread Måns Rullgård
Reinhard Tartler writes: >>> -pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" >>> +pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" >>> "$LIBM" >>> pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_VERSION" >>> "$extralibs" >>>

Re: [libav-devel] [PATCH 1/4] Add request_sample_fmt field to AVCodecContext.

2011-04-21 Thread Måns Rullgård
Justin Ruggles writes: > On 04/21/2011 01:23 PM, Justin Ruggles wrote: > >> >> This will allow audio decoders to support output of different sample formats >> as a runtime option. >> --- >> libavcodec/avcodec.h |7 +++ >> libavcodec/options.c |6 ++ >> libavcodec/version.h |

Re: [libav-devel] [PATCH 20/35] scale: implement interlaced scaling.

2011-04-21 Thread Stefano Sabatini
On date Thursday 2011-04-21 09:42:20 -0700, Aℓex Converse wrote: > 2011/4/21 Aℓex Converse : > > On Thu, Apr 21, 2011 at 8:57 AM, Diego Biurrun wrote: > >> On Wed, Apr 20, 2011 at 09:45:27PM +0200, Anton Khirnov wrote: > >>> From: Michael Niedermayer > >> > >> Please reformat as K&R, poor Stefano

Re: [libav-devel] [FFmpeg-devel] [PATCH]: Fix decoding of mpegts streams with h264 video that does *NOT* have b frames

2011-04-21 Thread Laurent Aimar
Hi, On Thu, Apr 21, 2011 at 04:30:35PM -0400, Ronald S. Bultje wrote: > On Thu, Apr 21, 2011 at 4:22 PM, Tony Strauss wrote: > > On Thu, Apr 21, 2011 at 3:34 PM, Mike Scheutzow > > wrote: > >> Tony Strauss wrote: > >>> The > >>> key thing is that this file was encoded without b frames, so pts ==

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-21 Thread rukhsana afroz
On Wed, Apr 20, 2011 at 2:23 AM, Nicolas George < nicolas.geo...@normalesup.org> wrote: > Le primidi 1er floréal, an CCXIX, rukhsana afroz a écrit : > > Here, I have attached the patch. > > This time it's not mangled. Getting it to have the correct MIME type would > have been a plus. You probably

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-21 Thread rukhsana afroz
On Thu, Apr 21, 2011 at 6:30 PM, rukhsana afroz wrote: > Thanks Nicolas for your comments. I will incorporate those in my code. > I have attached new patch again. -- Rukhsana Ruby Phd Student Department of Electrical & Computer Engineering The University of British Columbia =

Re: [libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-21 Thread Reinhard Tartler
On Fri, Apr 22, 2011 at 00:50:11 (CEST), Måns Rullgård wrote: > Reinhard Tartler writes: > -pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" +pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" "$LIBM" pkgconfig_generate libavco