[vlc-commits] Contribs: taglib, add m4v support
Steve Lhomme
git at videolan.org
Fri Feb 5 19:42:22 CET 2016
vlc | branch: master | Steve Lhomme <robUx4 at gmail.com> | Sat Jan 30 09:26:48 2016 +0100| [883111c9321484d6578a7dd4dc5a6f15164c6bfa] | committer: Jean-Baptiste Kempf
Contribs: taglib, add m4v support
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=883111c9321484d6578a7dd4dc5a6f15164c6bfa
---
contrib/src/taglib/m4v.patch | 20 ++++++++++++++++++++
contrib/src/taglib/rules.mak | 1 +
2 files changed, 21 insertions(+)
diff --git a/contrib/src/taglib/m4v.patch b/contrib/src/taglib/m4v.patch
new file mode 100644
index 0000000..827b929
--- /dev/null
+++ b/contrib/src/taglib/m4v.patch
@@ -0,0 +1,20 @@
+--- taglib/taglib/fileref.cpp 2015-08-10 18:32:56.961588900 +0200
++++ taglib/taglib/fileref.cpp.m4v 2015-08-12 11:00:44.933793600 +0200
+@@ -160,6 +160,7 @@
+ l.append("m4p");
+ l.append("3g2");
+ l.append("mp4");
++ l.append("m4v");
+ l.append("wma");
+ l.append("asf");
+ l.append("aif");
+@@ -266,7 +267,7 @@
+ return new Ogg::Opus::File(fileName, readAudioProperties, audioPropertiesStyle);
+ if(ext == "TTA")
+ return new TrueAudio::File(fileName, readAudioProperties, audioPropertiesStyle);
+- if(ext == "M4A" || ext == "M4R" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2")
++ if(ext == "M4A" || ext == "M4R" || ext == "M4B" || ext == "M4P" || ext == "MP4" || ext == "3G2" || ext == "M4V")
+ return new MP4::File(fileName, readAudioProperties, audioPropertiesStyle);
+ if(ext == "WMA" || ext == "ASF")
+ return new ASF::File(fileName, readAudioProperties, audioPropertiesStyle);
+
diff --git a/contrib/src/taglib/rules.mak b/contrib/src/taglib/rules.mak
index 8c6afb4..02ea427 100644
--- a/contrib/src/taglib/rules.mak
+++ b/contrib/src/taglib/rules.mak
@@ -15,6 +15,7 @@ $(TARBALLS)/taglib-$(TAGLIB_VERSION).tar.gz:
taglib: taglib-$(TAGLIB_VERSION).tar.gz .sum-taglib
$(UNPACK)
+ $(APPLY) $(SRC)/taglib/m4v.patch
$(MOVE)
.taglib: taglib toolchain.cmake
More information about the vlc-commits
mailing list