Skip to content

Commit

Permalink
Merge pull request godotengine#17378 from ShyRed/webm
Browse files Browse the repository at this point in the history
Update libwebm
  • Loading branch information
akien-mga authored Mar 9, 2018
2 parents b842369 + e71f109 commit aeb1c67
Show file tree
Hide file tree
Showing 5 changed files with 372 additions and 110 deletions.
4 changes: 4 additions & 0 deletions modules/webm/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ thirdparty_libsimplewebm_sources = [thirdparty_libsimplewebm_dir + file for file
env_webm.add_source_files(env.modules_sources, thirdparty_libsimplewebm_sources)
env_webm.Append(CPPPATH=[thirdparty_libsimplewebm_dir, thirdparty_libsimplewebm_dir + "libwebm/"])

# upstream uses c++11
if (not env_webm.msvc):
env_webm.Append(CCFLAGS="-std=c++11")

# also requires libogg, libvorbis and libopus
if env['builtin_libogg']:
env_webm.Append(CPPPATH=["#thirdparty/libogg"])
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/libsimplewebm/libwebm/README.libvpx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
URL: https://chromium.googlesource.com/webm/libwebm
Version: 32d5ac49414a8914ec1e1f285f3f927c6e8ec29d
Version: d7c62173ff6b4a5e0a2f86683a5b67db98cf09bf
License: BSD
License File: LICENSE.txt

Expand Down
8 changes: 8 additions & 0 deletions thirdparty/libsimplewebm/libwebm/common/webmids.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ enum MkvId {
kMkvLuminanceMin = 0x55DA,
// end mastering metadata
// end colour
// projection
kMkvProjection = 0x7670,
kMkvProjectionType = 0x7671,
kMkvProjectionPrivate = 0x7672,
kMkvProjectionPoseYaw = 0x7673,
kMkvProjectionPosePitch = 0x7674,
kMkvProjectionPoseRoll = 0x7675,
// end projection
// audio
kMkvAudio = 0xE1,
kMkvSamplingFrequency = 0xB5,
Expand Down
Loading

0 comments on commit aeb1c67

Please sign in to comment.