[vlc-commits] commit: Matroska demuxer: support for real atrac and real 28_8 ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Apr 13 00:40:07 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 13 00:34:55 2010 +0200| [d7d9110102e91d0cf7cf1373affc1b876d9da258] | committer: Jean-Baptiste Kempf
Matroska demuxer: support for real atrac and real 28_8
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d7d9110102e91d0cf7cf1373affc1b876d9da258
---
modules/demux/mkv/matroska_segment.cpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 910d980..c351b46 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -1082,6 +1082,11 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
{
if( !strcmp( tracks[i_track]->psz_codec, "A_REAL/COOK" ) )
tracks[i_track]->fmt.i_codec = VLC_CODEC_COOK;
+ else if( !strcmp( tracks[i_track]->psz_codec, "A_REAL/ATRC" ) )
+ tracks[i_track]->fmt.i_codec = VLC_CODEC_ATRAC3;
+ else if( !strcmp( tracks[i_track]->psz_codec, "A_REAL/28_8" ) )
+ tracks[i_track]->fmt.i_codec = VLC_CODEC_RA_288;
+ /* FIXME 14_4, RALF and SIPR */
tracks[i_track]->fmt.i_extra = tracks[i_track]->i_extra_data;
tracks[i_track]->fmt.p_extra = xmalloc( tracks[i_track]->i_extra_data );
memcpy( tracks[i_track]->fmt.p_extra,tracks[i_track]->p_extra_data, tracks[i_track]->i_extra_data );
More information about the vlc-commits
mailing list