Commit cae1bbba authored by Ilkka Ollakka's avatar Ilkka Ollakka

avcodec: add aac-profile strings for he-aac and he-aac v2, libfdk-aac supports them

parent 770ce7db
......@@ -391,8 +391,15 @@ int OpenEncoder( vlc_object_t *p_this )
else if( !strncmp( psz_val, "ssr", 3 ) )
p_sys->i_aac_profile = FF_PROFILE_AAC_SSR;
#endif
else if( !strncmp( psz_val, "ltp", 3 ) )
else if( !strncmp( psz_val, "ltp", 3 ) )
p_sys->i_aac_profile = FF_PROFILE_AAC_LTP;
#if LIBAVCODEC_VERSION_CHECK( 54, 19, 0, 35, 100 )
/* These require ffmpeg with libfdk-aac */
else if( !strncmp( psz_val, "hev2", 4 ) )
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;
#endif
else
{
msg_Warn( p_enc, "unknown AAC profile requested, setting it to low" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment