[vlc-commits] MKV: fix meta regression

Jean-Baptiste Kempf git at videolan.org
Sat Apr 28 12:49:01 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 27 19:20:47 2012 +0200| [57d06767e1efc8eeb9e606f23dfcbb5912f1f9ca] | committer: Jean-Baptiste Kempf

MKV: fix meta regression

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57d06767e1efc8eeb9e606f23dfcbb5912f1f9ca
---

 modules/demux/mkv/matroska_segment.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 090ace1..f434bc0 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -371,7 +371,8 @@ void matroska_segment_c::LoadTags( KaxTags *tags )
  *****************************************************************************/
 void matroska_segment_c::InformationCreate( )
 {
-    sys.meta = vlc_meta_New();
+    if( !sys.meta )
+        sys.meta = vlc_meta_New();
 
     if( psz_title )
     {



More information about the vlc-commits mailing list