[vlc-commits] MKV: fix meta regression

Jean-Baptiste Kempf git at videolan.org
Sun Apr 29 22:43:34 CEST 2012


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

MKV: fix meta regression
(cherry picked from commit 57d06767e1efc8eeb9e606f23dfcbb5912f1f9ca)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 f99235f..d233799 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