[SCM] vlc/master: Fix building against libmatroska 1.1, Closes: #614088

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Feb 19 22:21:31 UTC 2011


The following commit has been merged in the master branch:
commit 89efa7c4868ababafffc836da74a936ea4cfb418
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sat Feb 19 17:25:38 2011 +0100

    Fix building against libmatroska 1.1, Closes: #614088

diff --git a/debian/patches/libmatroska1.1.patch b/debian/patches/libmatroska1.1.patch
new file mode 100644
index 0000000..71c8237
--- /dev/null
+++ b/debian/patches/libmatroska1.1.patch
@@ -0,0 +1,53 @@
+From: Daniel Mierswa <impulze at impulze.org>
+Date: Thu, 3 Feb 2011 03:36:13 +0000 (+0100)
+Subject: backport multi tags patch
+X-Git-Url: http://git.videolan.org/?p=vlc%2Fvlc-1.1.git;a=commitdiff_plain;h=8f350488599b292521f4d460a945f13712fa6c75
+
+backport multi tags patch
+
+based on vlc.git 7be936ca451fa0c052069895460dcc0e67f4dfa3
+
+Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
+---
+
+diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
+index 117dc03..25c9971 100644
+--- a/modules/demux/mkv/matroska_segment.cpp
++++ b/modules/demux/mkv/matroska_segment.cpp
+@@ -220,6 +220,7 @@ void matroska_segment_c::LoadTags( KaxTags *tags )
+                     }
+                     ep->Up();
+                 }
++#if LIBMATROSKA_VERSION < 0x010100
+                 else if( MKV_IS_ID( el, KaxTagGeneral ) )
+                 {
+                     msg_Dbg( &sys.demuxer, "|   + General" );
+@@ -288,6 +289,7 @@ void matroska_segment_c::LoadTags( KaxTags *tags )
+                 {
+                     msg_Dbg( &sys.demuxer, "|   + Multi Title" );
+                 }
++#endif
+                 else
+                 {
+                     msg_Dbg( &sys.demuxer, "|   + LoadTag Unknown (%s)", typeid( *el ).name() );
+diff --git a/modules/demux/mkv/mkv.hpp b/modules/demux/mkv/mkv.hpp
+index 8b89b78..99a407c 100644
+--- a/modules/demux/mkv/mkv.hpp
++++ b/modules/demux/mkv/mkv.hpp
+@@ -92,13 +92,15 @@
+ #include "matroska/KaxSegment.h"
+ #include "matroska/KaxTag.h"
+ #include "matroska/KaxTags.h"
++#include "matroska/KaxVersion.h"
++#if LIBMATROSKA_VERSION < 0x010100
+ #include "matroska/KaxTagMulti.h"
++#endif
+ #include "matroska/KaxTracks.h"
+ #include "matroska/KaxTrackAudio.h"
+ #include "matroska/KaxTrackVideo.h"
+ #include "matroska/KaxTrackEntryData.h"
+ #include "matroska/KaxContentEncoding.h"
+-#include "matroska/KaxVersion.h"
+ 
+ #include "ebml/StdIOCallback.h"
+ 
diff --git a/debian/patches/series b/debian/patches/series
index ac233f6..ba9dbe3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 052_as-needed.patch
 200_osdmenu_paths.patch
 xulrunner-1.9.1.patch
+libmatroska1.1.patch

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list