Commit 883111c9 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

Contribs: taglib, add m4v support

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b26be803
--- 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);
...@@ -15,6 +15,7 @@ $(TARBALLS)/taglib-$(TAGLIB_VERSION).tar.gz: ...@@ -15,6 +15,7 @@ $(TARBALLS)/taglib-$(TAGLIB_VERSION).tar.gz:
taglib: taglib-$(TAGLIB_VERSION).tar.gz .sum-taglib taglib: taglib-$(TAGLIB_VERSION).tar.gz .sum-taglib
$(UNPACK) $(UNPACK)
$(APPLY) $(SRC)/taglib/m4v.patch
$(MOVE) $(MOVE)
.taglib: taglib toolchain.cmake .taglib: taglib toolchain.cmake
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment