[vlc-devel] commit: Manual backport of: "[MKV] Detect Dirac in MKV" ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Feb 10 12:22:32 CET 2009
vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 10 12:21:00 2009 +0100| [88254fd7f475199cbe369b66b175c201152b122b] | committer: Jean-Baptiste Kempf
Manual backport of: "[MKV] Detect Dirac in MKV"
Backport of [9ed799b9907b4e959426c8326749174a8293a9f6]
Fixes http://mso.fedorapeople.org/codecs-test/codec_test.schro.mkv
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88254fd7f475199cbe369b66b175c201152b122b
---
modules/demux/mkv.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp
index 97fa3e0..95b60fb 100644
--- a/modules/demux/mkv.cpp
+++ b/modules/demux/mkv.cpp
@@ -2337,6 +2337,10 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
else if( !strcmp( tracks[i_track]->psz_codec, "V_REAL/RV40" ) )
tracks[i_track]->fmt.i_codec = VLC_FOURCC( 'R', 'V', '4', '0' );
}
+ else if( !strncmp( tracks[i_track]->psz_codec, "V_DIRAC", 7 ) )
+ {
+ tracks[i_track]->fmt.i_codec = VLC_FOURCC('d', 'r', 'a', 'c' );
+ }
else if( !strncmp( tracks[i_track]->psz_codec, "V_MPEG4", 7 ) )
{
if( !strcmp( tracks[i_track]->psz_codec, "V_MPEG4/MS/V3" ) )
More information about the vlc-devel
mailing list