mirror of
https://github.com/videolan/vlc.git
synced 2024-11-25 02:44:30 +08:00
E-AC3 support in mkv files.
This commit is contained in:
parent
434acb18e8
commit
bf49ec236d
1
NEWS
1
NEWS
@ -8,6 +8,7 @@ Inputs:
|
||||
|
||||
Decoders:
|
||||
* AES3 (SMPTE 302M) support
|
||||
* E-AC3 (A/52b) support
|
||||
|
||||
Stream output:
|
||||
* Restored the old mpeg2 transrating module.
|
||||
|
@ -859,6 +859,11 @@ static const struct
|
||||
{ VLC_FOURCC('a','5','2','b'), CODEC_ID_AC3, /* VLC specific hack */
|
||||
AUDIO_ES, "A52 Audio (aka AC3)" },
|
||||
|
||||
#if LIBAVCODEC_VERSION_INT >= ((52<<16)+(0<<8)+0)
|
||||
{ VLC_FOURCC('e','a','c','3'), CODEC_ID_EAC3,
|
||||
AUDIO_ES, "A/52 B Audio (aka E-AC3)" },
|
||||
#endif
|
||||
|
||||
/* DTS Audio */
|
||||
{ VLC_FOURCC('d','t','s',' '), CODEC_ID_DTS,
|
||||
AUDIO_ES, "DTS Audio" },
|
||||
|
@ -2410,6 +2410,10 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
|
||||
{
|
||||
tracks[i_track]->fmt.i_codec = VLC_FOURCC( 'a', '5', '2', ' ' );
|
||||
}
|
||||
else if( !strcmp( tracks[i_track]->psz_codec, "A_EAC3" ) )
|
||||
{
|
||||
tracks[i_track]->fmt.i_codec = VLC_FOURCC( 'e', 'a', 'c', '3' );
|
||||
}
|
||||
else if( !strcmp( tracks[i_track]->psz_codec, "A_DTS" ) )
|
||||
{
|
||||
tracks[i_track]->fmt.i_codec = VLC_FOURCC( 'd', 't', 's', ' ' );
|
||||
|
Loading…
Reference in New Issue
Block a user