[vlc-devel] commit: Added .thd extension and force TrueHD decoder in raw MLP/ TrueHD demuxer. (Laurent Aimar )
git version control
git at videolan.org
Sat Jun 13 11:42:20 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jun 13 11:40:01 2009 +0200| [ef06c14d3a6f96bc6a9cb142a3d2b26e3e979601] | committer: Laurent Aimar
Added .thd extension and force TrueHD decoder in raw MLP/TrueHD demuxer.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef06c14d3a6f96bc6a9cb142a3d2b26e3e979601
---
modules/demux/mpeg/es.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mpeg/es.c b/modules/demux/mpeg/es.c
index 3a23281..2f0e061 100644
--- a/modules/demux/mpeg/es.c
+++ b/modules/demux/mpeg/es.c
@@ -66,6 +66,7 @@ vlc_module_begin ()
add_shortcut( "dts" )
add_shortcut( "mlp" )
+ add_shortcut( "thd" )
vlc_module_end ()
/*****************************************************************************
@@ -138,7 +139,7 @@ static const codec_t p_codec[] = {
{ VLC_CODEC_A52, true, "a52 audio", A52Probe, A52Init },
{ VLC_CODEC_EAC3, true, "eac3 audio", EA52Probe, A52Init },
{ VLC_CODEC_DTS, false, "dts audio", DtsProbe, DtsInit },
- { VLC_CODEC_MLP, false, "mlp audio", MlpProbe, MlpInit },
+ { VLC_CODEC_TRUEHD, false, "mlp audio", MlpProbe, MlpInit },
{ 0, false, NULL, NULL, NULL }
};
@@ -835,7 +836,7 @@ static int MlpCheckSync( const uint8_t *p_peek )
}
static int MlpProbe( demux_t *p_demux, int64_t *pi_offset )
{
- const char *ppsz_name[] = { "mlp", NULL };
+ const char *ppsz_name[] = { "mlp", "thd", NULL };
return GenericProbe( p_demux, pi_offset, ppsz_name, MlpCheckSync, 4+28+16*4 );
}
More information about the vlc-devel
mailing list