[vlc-commits] avcodec encoder: add more aac profiles

Rafaël Carré git at videolan.org
Wed Feb 19 19:34:21 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 19 19:33:58 2014 +0100| [3ca269d6fb4e2059928e4a3a29feb61f7d60edcd] | committer: Rafaël Carré

avcodec encoder: add more aac profiles

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3ca269d6fb4e2059928e4a3a29feb61f7d60edcd
---

 modules/codec/avcodec/encoder.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 5c30211..31bcd28 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -403,6 +403,10 @@ int OpenEncoder( vlc_object_t *p_this )
             p_sys->i_aac_profile = FF_PROFILE_AAC_HE_V2;
         else if( !strncmp( psz_val, "hev1", 4 ) )
             p_sys->i_aac_profile = FF_PROFILE_AAC_HE;
+        else if( !strncmp( psz_val, "ld", 2 ) )
+            p_sys->i_aac_profile = FF_PROFILE_AAC_LD;
+        else if( !strncmp( psz_val, "eld", 3 ) )
+            p_sys->i_aac_profile = FF_PROFILE_AAC_ELD;
 #endif
         else
         {



More information about the vlc-commits mailing list