Re: [libav-devel] [PATCH 2/4] psymodel: Add channels and channel groups to the psymodel.

2011-06-23 Thread Nathan Caldwell
On Sun, Jun 19, 2011 at 10:29 PM, Nathan Caldwell wrote: > --- >  libavcodec/aaccoder.c |   14 ++-- >  libavcodec/aacenc.c   |    2 +- >  libavcodec/aacpsy.c   |    5 ++- >  libavcodec/psymodel.c |   36 >  libavcodec/psymodel.h |   53 ++

Re: [libav-devel] [PATCH] lavf: don't error on custom AVIOContex for an AVFMT_NOFILE format.

2011-06-23 Thread Luca Barbato
On 6/23/11 2:52 AM, Måns Rullgård wrote: If this is only to please *old* mplayer versions, it does not make sense. I'd consider it an example of a possible behaviour let's be strict in the 0.8 about it. lu ___ libav-devel mailing list libav-devel

[libav-devel] [PATCH] Darwin/MacOS X: allow user-specified library install path

2011-06-23 Thread Sean McGovern
In Darwin/MacOS X, it is advantageous to be able to set a custom library install path when embedding a library alongside or in a path relative to it's calling binary application This allows constructions such as: @executable_path/lib which is evaluated by dyld at runtime. --- configure |3 ++-

Re: [libav-devel] [PATCH] doxygen: Consistently use '@' instead of '\' for Doxygen markup.

2011-06-23 Thread Stefano Sabatini
I'm all for consistency, so I'm in favor of this patch, thank you. On date Thursday 2011-06-23 22:41:54 +0200, Diego Biurrun encoded: > --- > libavcodec/acelp_pitch_delay.h | 74 > +++--- > libavcodec/avcodec.h |6 ++-- > libavcodec/celp_filter

[libav-devel] [PATCH] doxygen: Consistently use '@' instead of '\' for Doxygen markup.

2011-06-23 Thread Diego Biurrun
--- libavcodec/acelp_pitch_delay.h | 74 +++--- libavcodec/avcodec.h |6 ++-- libavcodec/celp_filters.h|2 +- libavcodec/fft.h |2 +- libavcodec/g729dec.c |2 +- libavcodec/h264_parser.c |

Re: [libav-devel] [PATCH] build: Remove dependency and editor backup files also in the doc/ subdirectory.

2011-06-23 Thread Reinhard Tartler
On Thu, Jun 23, 2011 at 19:29:08 (CEST), Diego Biurrun wrote: > On Thu, Jun 23, 2011 at 03:51:55PM +0100, Måns Rullgård wrote: >> Reinhard Tartler writes: >> >> > On Thu, Jun 23, 2011 at 12:41:55 (CEST), Diego Biurrun wrote: >> > >> >> On Thu, Jun 23, 2011 at 12:38:03PM +0200, Diego Biurrun wrot

Re: [libav-devel] [PATCH] build: Remove dependency and editor backup files also in the doc/ subdirectory.

2011-06-23 Thread Diego Biurrun
On Thu, Jun 23, 2011 at 03:51:55PM +0100, Måns Rullgård wrote: > Reinhard Tartler writes: > > > On Thu, Jun 23, 2011 at 12:41:55 (CEST), Diego Biurrun wrote: > > > >> On Thu, Jun 23, 2011 at 12:38:03PM +0200, Diego Biurrun wrote: > >>> --- > >>> Makefile |2 +- > >>> 1 files changed, 1 inser

Re: [libav-devel] [PATCH 2/2] Use av_printf_format to check the usage of printf style functions

2011-06-23 Thread Anton Khirnov
On Thu, 23 Jun 2011 20:05:29 +0300, Martin Storsjö wrote: > This helps catching cases where the format string doesn't > match what is passed in, or injection bugs where user data > is passed in as format string. > --- > Simplified the use of the attribute on a static function > without a prototyp

[libav-devel] [PATCH 2/2] Use av_printf_format to check the usage of printf style functions

2011-06-23 Thread Martin Storsjö
This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. --- Simplified the use of the attribute on a static function without a prototype, as pointed out by Anton. libavcodec/avcodec.h |2 +- libavfor

Re: [libav-devel] [Slight-OT] VideoLAN Dev Days 2011

2011-06-23 Thread Diego Biurrun
On Thu, Jun 23, 2011 at 05:11:21PM +0200, Diego Biurrun wrote: > On Thu, Jun 23, 2011 at 08:05:56AM -0700, Jason Garrett-Glaser wrote: > > 011/6/23 Måns Rullgård : > > > Jean-Baptiste Kempf writes: > > > > > >> The VideoLAN Dev Days 2011 will be held > > >> > > >>  in Paris, France, Europe; > > >>

Re: [libav-devel] [Slight-OT] VideoLAN Dev Days 2011

2011-06-23 Thread Kostya
On Thu, Jun 23, 2011 at 04:02:48PM +0200, Jean-Baptiste Kempf wrote: > Hello Libav community, > > I am sorry for the slight OT, but I'll organize the next VideoLAN Dev > Days this septembers, and you are invited... > > --- > > The VideoLAN Dev Days 2011 will be held > > in Paris, France, Europ

Re: [libav-devel] [Slight-OT] VideoLAN Dev Days 2011

2011-06-23 Thread Diego Biurrun
On Thu, Jun 23, 2011 at 08:05:56AM -0700, Jason Garrett-Glaser wrote: > 011/6/23 Måns Rullgård : > > Jean-Baptiste Kempf writes: > > > >> The VideoLAN Dev Days 2011 will be held > >> > >>  in Paris, France, Europe; > >> > >>  on September 3rd (saturday) and 4th (sunday) 2011 > >>  (and beers on th

Re: [libav-devel] [PATCH] ARM: enable thumb for Cortex-M* CPUs

2011-06-23 Thread Kostya
On Thu, Jun 23, 2011 at 03:42:54PM +0100, Mans Rullgard wrote: > These CPUs are thumb-only and thus require this option. > > Signed-off-by: Mans Rullgard > --- > configure |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/configure b/configure > index 0f2bd06..f5574

Re: [libav-devel] [Slight-OT] VideoLAN Dev Days 2011

2011-06-23 Thread Jason Garrett-Glaser
011/6/23 Måns Rullgård : > Jean-Baptiste Kempf writes: > >> The VideoLAN Dev Days 2011 will be held >> >>  in Paris, France, Europe; >> >>  on September 3rd (saturday) and 4th (sunday) 2011 >>  (and beers on the friday night) >> > > [...] > >> How do I register? >> >>  * mail me for registration,

Re: [libav-devel] [PATCH] build: Remove dependency and editor backup files also in the doc/ subdirectory.

2011-06-23 Thread Måns Rullgård
Reinhard Tartler writes: > On Thu, Jun 23, 2011 at 12:41:55 (CEST), Diego Biurrun wrote: > >> On Thu, Jun 23, 2011 at 12:38:03PM +0200, Diego Biurrun wrote: >>> --- >>> Makefile |2 +- >>> 1 files changed, 1 insertions(+), 1 deletions(-) >>> >>> --- a/Makefile >>> +++ b/Makefile >>> @@ -172

Re: [libav-devel] [PATCH] build: Remove dependency and editor backup files also in the doc/ subdirectory.

2011-06-23 Thread Reinhard Tartler
On Thu, Jun 23, 2011 at 12:41:55 (CEST), Diego Biurrun wrote: > On Thu, Jun 23, 2011 at 12:38:03PM +0200, Diego Biurrun wrote: >> --- >> Makefile |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> --- a/Makefile >> +++ b/Makefile >> @@ -172,7 +172,7 @@ testclean: >> clean:: te

[libav-devel] [PATCH] ARM: enable thumb for Cortex-M* CPUs

2011-06-23 Thread Mans Rullgard
These CPUs are thumb-only and thus require this option. Signed-off-by: Mans Rullgard --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 0f2bd06..f557482 100755 --- a/configure +++ b/configure @@ -2270,7 +2270,7 @@ elif enabled arm;

Re: [libav-devel] [PATCH] gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps

2011-06-23 Thread Tomas Härdin
Tomas Härdin skrev 2011-06-23 16:22: Hi It seems 25 fps DV muxed in GXF is misdetected as 50 fps by lavf. The attached patch fixes this issue by setting the duration of DV packets to fields_per_frame. Oops, forgot to rebase. Updated patch attached. /Tomas >From 642a2f05468d0d53e7587d8efae0040

[libav-devel] [PATCH] gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps

2011-06-23 Thread Tomas Härdin
Hi It seems 25 fps DV muxed in GXF is misdetected as 50 fps by lavf. The attached patch fixes this issue by setting the duration of DV packets to fields_per_frame. Without this ffprobe reports packets as having duration=1, but all dts:es are even (0, 2, 4, time_base=1/50) which confuses lavf.

Re: [libav-devel] [Slight-OT] VideoLAN Dev Days 2011

2011-06-23 Thread Måns Rullgård
Jean-Baptiste Kempf writes: > The VideoLAN Dev Days 2011 will be held > > in Paris, France, Europe; > > on September 3rd (saturday) and 4th (sunday) 2011 > (and beers on the friday night) > [...] > How do I register? > > * mail me for registration, ASAP (I mean it). Wait for "OK". I'll go.

[libav-devel] [Slight-OT] VideoLAN Dev Days 2011

2011-06-23 Thread Jean-Baptiste Kempf
Hello Libav community, I am sorry for the slight OT, but I'll organize the next VideoLAN Dev Days this septembers, and you are invited... --- The VideoLAN Dev Days 2011 will be held in Paris, France, Europe; on September 3rd (saturday) and 4th (sunday) 2011 (and beers on the friday night)

Re: [libav-devel] [PATCH] nsvdec: Propagate error values instead of returning 0 in nsv_read_header().

2011-06-23 Thread Måns Rullgård
Diego Biurrun writes: > This eliminates a warning about a set-but-unused variable. > --- > libavformat/nsvdec.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c > index 9adb2f4..6e9cfe3 100644 > --- a/libavformat/nsvdec.c

[libav-devel] [PATCH] nsvdec: Propagate error values instead of returning 0 in nsv_read_header().

2011-06-23 Thread Diego Biurrun
This eliminates a warning about a set-but-unused variable. --- libavformat/nsvdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index 9adb2f4..6e9cfe3 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -531,7 +5

Re: [libav-devel] [PATCH] build: remove SRC_PATH_BARE variable

2011-06-23 Thread Måns Rullgård
Diego Biurrun writes: > On Wed, Jun 22, 2011 at 11:14:52PM +0100, Mans Rullgard wrote: >> >> --- a/Makefile >> +++ b/Makefile >> @@ -126,8 +124,8 @@ tools/%.o: tools/%.c >> >> -VERSION_SH = $(SRC_PATH_BARE)/version.sh >> -GIT_LOG = $(SRC_PATH_BARE)/.git/logs/HEAD >> +VERSION_SH = $(SRC_P

Re: [libav-devel] [PATCH] build: remove SRC_PATH_BARE variable

2011-06-23 Thread Diego Biurrun
On Wed, Jun 22, 2011 at 11:14:52PM +0100, Mans Rullgard wrote: > > --- a/Makefile > +++ b/Makefile > @@ -126,8 +124,8 @@ tools/%.o: tools/%.c > > -VERSION_SH = $(SRC_PATH_BARE)/version.sh > -GIT_LOG = $(SRC_PATH_BARE)/.git/logs/HEAD > +VERSION_SH = $(SRC_PATH)/version.sh > +GIT_LOG = $

Re: [libav-devel] [PATCH 1/2] build: move special targets to end of main Makefile

2011-06-23 Thread Måns Rullgård
Diego Biurrun writes: > On Wed, Jun 22, 2011 at 11:13:02PM +0100, Mans Rullgard wrote: >> Signed-off-by: Mans Rullgard >> --- >> Makefile |8 >> common.mak |8 >> 2 files changed, 8 insertions(+), 8 deletions(-) > > What is the goal of your patches? Do you want to e

Re: [libav-devel] [PATCH 1/2] build: move special targets to end of main Makefile

2011-06-23 Thread Diego Biurrun
On Wed, Jun 22, 2011 at 11:13:02PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > Makefile |8 > common.mak |8 > 2 files changed, 8 insertions(+), 8 deletions(-) What is the goal of your patches? Do you want to eliminate common.mak? Diego __

Re: [libav-devel] [PATCH] build: remove SRC_PATH_BARE variable

2011-06-23 Thread Diego Biurrun
On Wed, Jun 22, 2011 at 11:14:52PM +0100, Mans Rullgard wrote: > Setting SRC_PATH to "." when building in-tree removes the need > for a quoted version of the source path since out-of-tree builds > are not possible if the pathname contains spaces. OK Diego _

Re: [libav-devel] [PATCH 2/2] build: move basic rules and variables to main Makefile

2011-06-23 Thread Diego Biurrun
On Wed, Jun 22, 2011 at 11:13:03PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > Makefile | 35 +++ > common.mak | 40 > 2 files changed, 35 insertions(+), 40 deletions(-) OK Diego __

Re: [libav-devel] [PATCH 1/2] build: move special targets to end of main Makefile

2011-06-23 Thread Diego Biurrun
On Wed, Jun 22, 2011 at 11:13:02PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > Makefile |8 > common.mak |8 > 2 files changed, 8 insertions(+), 8 deletions(-) OK Diego ___ libav-devel mailing list li

Re: [libav-devel] [PATCH] build: Remove dependency and editor backup files also in the doc/ subdirectory.

2011-06-23 Thread Diego Biurrun
On Thu, Jun 23, 2011 at 12:38:03PM +0200, Diego Biurrun wrote: > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > --- a/Makefile > +++ b/Makefile > @@ -172,7 +172,7 @@ testclean: > clean:: testclean > $(RM) $(ALLPROGS) > $(RM) $(CLEANSUFFIXES) > -

[libav-devel] [PATCH] build: Remove dependency and editor backup files also in the doc/ subdirectory.

2011-06-23 Thread Diego Biurrun
--- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 084e175..d6bae76 100644 --- a/Makefile +++ b/Makefile @@ -172,7 +172,7 @@ testclean: clean:: testclean $(RM) $(ALLPROGS) $(RM) $(CLEANSUFFIXES) - $(RM) doc/*.html

Re: [libav-devel] [PATCH] lavf: don't error on custom AVIOContex for an AVFMT_NOFILE format.

2011-06-23 Thread Måns Rullgård
Reinhard Tartler writes: > On Wed, Jun 22, 2011 at 21:33:23 (CEST), Anton Khirnov wrote: > >> From: Reimar Döffinger >> >> Printing a warning is enough. >> >> This allows the code to work with older MPlayer versions that >> just always set pb out of laziness. >> >> Signed-off-by: Reimar Döffinge

Re: [libav-devel] [PATCH] lavf: don't error on custom AVIOContex for an AVFMT_NOFILE format.

2011-06-23 Thread Reinhard Tartler
On Wed, Jun 22, 2011 at 21:33:23 (CEST), Anton Khirnov wrote: > From: Reimar Döffinger > > Printing a warning is enough. > > This allows the code to work with older MPlayer versions that > just always set pb out of laziness. > > Signed-off-by: Reimar Döffinger > Signed-off-by: Anton Khirnov > -

Re: [libav-devel] mpegtsenc: Random Access indicator take 2

2011-06-23 Thread Tomas Härdin
Jindřich Makovička skrev 2011-06-21 18:52: Hi, I am attaching another, hopefully cleaner, version of the Random Access indicator patch for mpeg-ts muxer. Random Access indicator can be used to mark keyframes, and is required by some DVB recorders to be able to index and replay the recorded stre