[vlc-commits] Twolame: bump priority and accept mp2a fourcc
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 6 02:53:55 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 6 02:49:44 2012 +0200| [e466c8278d9cd13d055df9375e30a0ab805cc2c3] | committer: Jean-Baptiste Kempf
Twolame: bump priority and accept mp2a fourcc
This restores compatibility with 1.1 command lines and docs
Close #6227
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e466c8278d9cd13d055df9375e30a0ab805cc2c3
---
modules/codec/twolame.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/codec/twolame.c b/modules/codec/twolame.c
index 440e152..cd07276 100644
--- a/modules/codec/twolame.c
+++ b/modules/codec/twolame.c
@@ -73,7 +73,7 @@ static const char *const ppsz_stereo_descriptions[] =
vlc_module_begin ()
set_shortname( "Twolame")
set_description( N_("Libtwolame audio encoder") )
- set_capability( "encoder", 50 )
+ set_capability( "encoder", 120 )
set_callbacks( OpenEncoder, CloseEncoder )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACODEC )
@@ -132,6 +132,7 @@ static int OpenEncoder( vlc_object_t *p_this )
if( p_enc->fmt_out.i_codec != VLC_CODEC_MP2 &&
p_enc->fmt_out.i_codec != VLC_CODEC_MPGA &&
+ p_enc->fmt_out.i_codec != VLC_FOURCC( 'm', 'p', '2', 'a' ) &&
!p_enc->b_force )
{
return VLC_EGENERIC;
More information about the vlc-commits
mailing list