[FFmpeg-devel] [PATCH] dca: export profile information on decode

Michael Niedermayer michaelni
Sat Jan 1 04:09:59 CET 2011


On Fri, Dec 31, 2010 at 07:26:33AM +0200, Anssi Hannula wrote:
> On 31.12.2010 06:21, Michael Niedermayer wrote:
> > On Wed, Dec 29, 2010 at 07:24:09AM +0200, Anssi Hannula wrote:
> >> ---
> >>
> >> While waiting for that another opinion, here's another take on the
> >> patch, this time with a more noticiable separation of the HD parser.
> [...]
> >> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> >> index c803ec6..8833849 100644
> >> --- a/libavcodec/avcodec.h
> >> +++ b/libavcodec/avcodec.h
> >> @@ -32,7 +32,7 @@
> >>  #include "libavutil/cpu.h"
> >>  
> >>  #define LIBAVCODEC_VERSION_MAJOR 52
> >> -#define LIBAVCODEC_VERSION_MINOR 101
> >> +#define LIBAVCODEC_VERSION_MINOR 102
> >>  #define LIBAVCODEC_VERSION_MICRO  0
> >>  
> >>  #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
> >> @@ -2238,6 +2238,12 @@ typedef struct AVCodecContext {
> >>  #define FF_PROFILE_AAC_SSR  2
> >>  #define FF_PROFILE_AAC_LTP  3
> >>  
> >> +#define FF_PROFILE_DTS         20
> >> +#define FF_PROFILE_DTS_ES      30
> >> +#define FF_PROFILE_DTS_96_24   40
> >> +#define FF_PROFILE_DTS_HD_HRA  50
> >> +#define FF_PROFILE_DTS_HD_MA   60
> > 
> >  options.c update missing
> 
> This is decoding, not encoding. What kind of options.c update is needed?

I think its a good idea to add the entries to options.c when the defines are
added to avcodec.h, otherwise it will be forgotten

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/4b0c03cc/attachment.pgp>



More information about the ffmpeg-devel mailing list