[FFmpeg-cvslog] r13185 - in trunk/libavcodec: libdiracdec.c libdiracenc.c libfaad.c libschroedingerdec.c libschroedingerenc.c

diego subversion
Sat May 17 12:20:01 CEST 2008


Author: diego
Date: Sat May 17 12:20:01 2008
New Revision: 13185

Log:
missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste it


Modified:
   trunk/libavcodec/libdiracdec.c
   trunk/libavcodec/libdiracenc.c
   trunk/libavcodec/libfaad.c
   trunk/libavcodec/libschroedingerdec.c
   trunk/libavcodec/libschroedingerenc.c

Modified: trunk/libavcodec/libdiracdec.c
==============================================================================
--- trunk/libavcodec/libdiracdec.c	(original)
+++ trunk/libavcodec/libdiracdec.c	Sat May 17 12:20:01 2008
@@ -204,5 +204,6 @@ AVCodec libdirac_decoder = {
     libdirac_decode_close,
     libdirac_decode_frame,
     CODEC_CAP_DELAY,
-    .flush = libdirac_flush
+    .flush = libdirac_flush,
+    .long_name = "libdirac Dirac 2.2",
 } ;

Modified: trunk/libavcodec/libdiracenc.c
==============================================================================
--- trunk/libavcodec/libdiracenc.c	(original)
+++ trunk/libavcodec/libdiracenc.c	Sat May 17 12:20:01 2008
@@ -370,4 +370,5 @@ AVCodec libdirac_encoder = {
     libdirac_encode_close,
    .capabilities= CODEC_CAP_DELAY,
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, -1},
+   .long_name= "libdirac Dirac 2.2",
 } ;

Modified: trunk/libavcodec/libfaad.c
==============================================================================
--- trunk/libavcodec/libfaad.c	(original)
+++ trunk/libavcodec/libfaad.c	Sat May 17 12:20:01 2008
@@ -315,7 +315,7 @@ static av_cold int faac_decode_init(AVCo
     return 0;
 }
 
-#define AAC_CODEC(id, name)     \
+#define AAC_CODEC(id, name, long_name_) \
 AVCodec name ## _decoder = {    \
     #name,                      \
     CODEC_TYPE_AUDIO,           \
@@ -325,13 +325,14 @@ AVCodec name ## _decoder = {    \
     NULL,                       \
     faac_decode_end,            \
     faac_decode_frame,          \
+    .long_name = long_name_,    \
 }
 
 // FIXME - raw AAC files - maybe just one entry will be enough
-AAC_CODEC(CODEC_ID_AAC, libfaad);
+AAC_CODEC(CODEC_ID_AAC, libfaad, "libfaad AAC (Advanced Audio Codec)");
 #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
 // If it's mp4 file - usually embeded into Qt Mov
-AAC_CODEC(CODEC_ID_MPEG4AAC, mpeg4aac);
+AAC_CODEC(CODEC_ID_MPEG4AAC, mpeg4aac, "libfaad AAC (Advanced Audio Codec)");
 #endif
 
 #undef AAC_CODEC

Modified: trunk/libavcodec/libschroedingerdec.c
==============================================================================
--- trunk/libavcodec/libschroedingerdec.c	(original)
+++ trunk/libavcodec/libschroedingerdec.c	Sat May 17 12:20:01 2008
@@ -304,5 +304,6 @@ AVCodec libschroedinger_decoder = {
     libschroedinger_decode_close,
     libschroedinger_decode_frame,
     CODEC_CAP_DELAY,
-    .flush = libschroedinger_flush
+    .flush = libschroedinger_flush,
+    .long_name = "libschroedinger Dirac 2.2",
 };

Modified: trunk/libavcodec/libschroedingerenc.c
==============================================================================
--- trunk/libavcodec/libschroedingerenc.c	(original)
+++ trunk/libavcodec/libschroedingerenc.c	Sat May 17 12:20:01 2008
@@ -384,4 +384,5 @@ AVCodec libschroedinger_encoder = {
     libschroedinger_encode_close,
    .capabilities= CODEC_CAP_DELAY,
    .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE},
+   .long_name= "libschroedinger Dirac 2.2",
 };




More information about the ffmpeg-cvslog mailing list