mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-16 16:02:54 +02:00
* modules/mux/asf.c: for mpeg audio, i_bitspersample needs to be set to 0.
This commit is contained in:
parent
699e4bb62d
commit
a2ce260bd8
@ -352,17 +352,20 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
|
||||
case VLC_FOURCC( 'a', '5', '2', ' ' ):
|
||||
tk->i_tag = WAVE_FORMAT_A52;
|
||||
tk->psz_name = "A/52";
|
||||
i_bitspersample = 0;
|
||||
break;
|
||||
case VLC_FOURCC( 'm', 'p', 'g', 'a' ):
|
||||
#if 1
|
||||
tk->psz_name = "MPEG Audio Layer 3";
|
||||
tk->i_tag = WAVE_FORMAT_MPEGLAYER3;
|
||||
i_bitspersample = 0;
|
||||
i_blockalign = 1;
|
||||
i_extra = 12;
|
||||
break;
|
||||
#else
|
||||
tk->psz_name = "MPEG Audio Layer 1/2";
|
||||
tk->i_tag = WAVE_FORMAT_MPEG;
|
||||
i_bitspersample = 0;
|
||||
i_blockalign = 1;
|
||||
i_extra = 22;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user