changeset 6819:43bede126ef6 libavcodec

missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
author diego
date Sat, 17 May 2008 10:20:01 +0000
parents 0f70462b5c21
children 6e7d36c1f94a
files libdiracdec.c libdiracenc.c libfaad.c libschroedingerdec.c libschroedingerenc.c
diffstat 5 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libdiracdec.c	Fri May 16 21:28:55 2008 +0000
+++ b/libdiracdec.c	Sat May 17 10:20:01 2008 +0000
@@ -204,5 +204,6 @@
     libdirac_decode_close,
     libdirac_decode_frame,
     CODEC_CAP_DELAY,
-    .flush = libdirac_flush
+    .flush = libdirac_flush,
+    .long_name = "libdirac Dirac 2.2",
 } ;
--- a/libdiracenc.c	Fri May 16 21:28:55 2008 +0000
+++ b/libdiracenc.c	Sat May 17 10:20:01 2008 +0000
@@ -370,4 +370,5 @@
     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",
 } ;
--- a/libfaad.c	Fri May 16 21:28:55 2008 +0000
+++ b/libfaad.c	Sat May 17 10:20:01 2008 +0000
@@ -315,7 +315,7 @@
     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 @@
     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
--- a/libschroedingerdec.c	Fri May 16 21:28:55 2008 +0000
+++ b/libschroedingerdec.c	Sat May 17 10:20:01 2008 +0000
@@ -304,5 +304,6 @@
     libschroedinger_decode_close,
     libschroedinger_decode_frame,
     CODEC_CAP_DELAY,
-    .flush = libschroedinger_flush
+    .flush = libschroedinger_flush,
+    .long_name = "libschroedinger Dirac 2.2",
 };
--- a/libschroedingerenc.c	Fri May 16 21:28:55 2008 +0000
+++ b/libschroedingerenc.c	Sat May 17 10:20:01 2008 +0000
@@ -384,4 +384,5 @@
     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",
 };