Tom Finegan
26306f9214
mkvmuxer: Remove unused Cluster ctor overload.
...
Remove Cluster ctor overload unintentionally added during a merge
because the default ctor is causing an uninit'd memory error in
valgrind.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1161
Change-Id: I21b8110488bc6def0a3b5d07cbede37170087e6d
2016-03-29 14:32:43 -07:00
Tom Finegan
0d765974cd
mkvmuxer: Fix build with GCC 5.3.
...
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1160
Change-Id: I7d8a0a7fa1aef2e459e54effd448186c850453be
2016-03-29 12:21:10 -07:00
Tom Finegan
0ba80bcbf4
mkvparser/sample: Minor clean up.
...
- Return EXIT_FAILURE/EXIT_SUCCESS from main().
- Fix usage.
Change-Id: Id22d9c5cff9c8e220b4d19c519bf35f8b69ed2df
2016-03-29 09:02:52 -07:00
Tom Finegan
2e0e906eac
iosbuild.sh: Fix build.
...
Update the framework build script to support the new
layout of the libwebm repo.
Change-Id: I4852eb116b7a4b891e570cad3be830fc961ba2f8
2016-03-23 10:09:59 -07:00
James Zern
918440adaf
Makefile.unix: allow CXXFLAGS to be easily overridden
...
separate out required flags allowing CXXFLAGS to append them
Change-Id: I2ecd68c7c153da5f17e3b53e1c8ae4e739c65f4c
2016-03-22 20:55:33 -07:00
Tom Finegan
4ff5785938
cmake: Add C++11 move ctor and member initializer tests.
...
Change-Id: I747a206db03fcb8f13265e0c56c86dd5a9f6eff8
2016-03-21 14:41:49 -07:00
Tom Finegan
402ef4dd4d
cmake: remove argc and argv from C++11 test main fns.
...
Avoid failing feature tests because of potential unused variable
warnings.
Change-Id: Iaae3a86581ce7beefeaf6c2300c87064fc8d6d56
2016-03-21 14:41:49 -07:00
Tom Finegan
cbe5c40d12
Restore original namespaces for mkvmuxer and mkvparser.
...
Wrapping mkvmuxer and mkvparser in the libwebm namespace is no
longer necessary now that the tree reorganization is complete.
Put mkvmuxer and mkvparser namespaces back in the global
namespace to avoid unnecessary churn in downstream code.
Change-Id: I13a4fe0143d20bb2bb6038078c68636ff2af0c29
2016-03-21 14:41:49 -07:00
Tom Finegan
504e0f2d5b
Mass file extension update.
...
- Use .cc and .h everywhere.
- Update includes/include guards.
- Remove extra makefile targets necessitated by previous mix
of cpp/cc.
Change-Id: I7aad29152d4177937f8f42927c16c6572228c104
2016-03-21 14:41:47 -07:00
Tom Finegan
79cb9805c1
Android.mk: Update source file locations.
...
Change-Id: I92cdf3c5616edf0450bce85963f415e10c5cb21d
2016-03-21 14:41:24 -07:00
Tom Finegan
01db4c2d83
webmids: Move to common/ sub dir.
...
Change-Id: I87d0cbd78203a6680108e9e36588ff35e7ae8a4e
2016-03-21 14:41:24 -07:00
Tom Finegan
235ce59396
mkvparser: Explicitly reference internal sources in includes.
...
Change-Id: I09f2ab1e6fd4a41b242931e12cb4f147f8019247
2016-03-21 14:41:24 -07:00
Tom Finegan
f578419a01
mkvmuxer: Move sources to mkvmuxer/ sub dir.
...
Change-Id: I22dff1e2ece102c294081ab2ec8600fdb872922e
2016-03-21 14:41:19 -07:00
Tom Finegan
5f1065e4e2
webvtt: Organize and clean up webvtt support.
...
Move webvtt support code into webvtt sub dir, and update build/includes
as necessary.
Change-Id: I1c0891afd413e92d43ba54b61cc8dc694c0bff36
2016-03-21 12:41:47 -07:00
Tom Finegan
7abe8ace91
cmake: Add missing dumpvtt target.
...
Change-Id: Ie751a8bcf10d554dd2dad7171b27df22bf442d40
2016-03-21 12:41:47 -07:00
Tom Finegan
f2f87e20ed
Makefile.unix: Tidy things up.
...
- Stop the abuse of OBJECTS$N (where N is just a magic number that's been
incremented each time the line length crossed 80 cols).
- Put WebVTT objects in VTTOBJS
- Put executable objects in EXEOBJS
- Move symbol defs to $(DFLAGS)
- Add $(INCLUDES) to $(CXXFLAGS); stop using it in rules.
Change-Id: I140c8a779f9f42586b7179262690c86801163f89
2016-03-21 12:41:47 -07:00
Tom Finegan
12f6dc34b4
Use <stdint.h> types instead of custom typedefs.
...
Change-Id: Ia43b81649a14d0509aef2119be7a0ea9be955201
2016-03-21 12:41:45 -07:00
Vignesh Venkatasubramanian
0407360dcf
mkvmuxer: Write last block in each Cluster with Duration
...
This helps browsers implementing Media Source Extensions (MSE) to
know the exact duration of a Cluster without relying on the next
Cluster.
Change-Id: Idd0422e432430c5702a4864740f89fc6d3c85189
2016-03-18 12:24:42 -07:00
Tom Finegan
008aa63d6a
mkvparser: move to mkvparser sub dir.
...
Move mkvparser and mkvreader to mkvparser/.
Change-Id: I18c4575483f628344034d81b7d90d3aa86c163ff
2016-03-18 10:22:22 -07:00
Tom Finegan
e64bf75688
Namespace reorg: Make everything a child of libwebm.
...
(that is not already)
Some details:
- mkvmuxer and mkvparser wrapped by libwebm
- Matroska element constants moved from mkvmuxer to libwebm
- integer types moved from mkvmuxer to libwebm
Change-Id: Ic91e887e50adbc2d735bf6264534a5d01135df31
2016-03-18 10:22:16 -07:00
Tom Finegan
5fdb386183
cmake: move c++11 checks into build/cxx11_tests.cmake.
...
Change-Id: I300552a14412dc664e7e5f1a4d1a90466e82593d
2016-03-16 20:14:26 -07:00
Vignesh Venkatasubramanian
367248817e
Copy reference block values in Frame::CopyFrom()
...
Change-Id: I6cde588e98326664227ea9db1dcd643845a60ca6
2016-03-16 15:03:33 -07:00
clang-format
91ca780522
reapply clang-format
...
Change-Id: Ic04e8429b07fe9b7dc15dc836d16ba9f30317ee2
2016-03-16 12:18:08 -07:00
Vignesh Venkatasubramanian
8d3421503f
Merge "Clean up AddAudioTrack in muxer_tests"
2016-03-16 00:25:30 +00:00
Vignesh Venkatasubramanian
90861d4fb6
Clean up AddAudioTrack in muxer_tests
...
Moving AddAudioTrack into a separate function and keeping it
simple so that it can be re-used from other tests that might
require adding an audio track.
Change-Id: Ia60ed63ddbe617764596eb9c5a2bf96108c47cdd
2016-03-15 17:23:13 -07:00
Vignesh Venkatasubramanian
a9dfb3d3a3
Un-ignore webm files in testdata
...
Only ignore .webm files in the root directory of the repository.
Change-Id: Ic95e7013781f760b4947e4483f33472052724460
2016-03-15 16:19:44 -07:00
Tom Finegan
c5b76d8d11
Extract PES parser from WebM2Pes tests.
...
Change-Id: I6c81255635a65337bdb701119a3814801864469d
2016-03-11 14:12:57 -08:00
Tom Finegan
16524e8e3b
cmake: Add include-what-you-use integration.
...
Change-Id: Ifcfd15e0b7b81c013116ad770985a3fe4911391a
2016-03-10 14:47:43 -08:00
Tom Finegan
7015af5b08
iwyu/vpxpes2ts: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6e7b296886c477107f8d50a7ed02187d01df125c
2016-03-10 09:21:48 -08:00
Tom Finegan
c1d6a70204
iwyu/webm2pes: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ib390c6a669d31ec298a4db407a50904576b99d91
2016-03-10 09:21:48 -08:00
Tom Finegan
110e79790b
iwyu/libwebm_util: Update includes.
...
Include what you use analysis based include update.
Change-Id: I272351418ac19e66989ea7ba23b01561ff7a8ed4
2016-03-10 09:21:48 -08:00
Tom Finegan
44e31fb4d9
iwyu/webm2pes_tests: Update includes.
...
Include what you use analysis based include update.
Change-Id: Iaef395051e24654933c278f63965491091775773
2016-03-10 09:21:48 -08:00
Tom Finegan
d919f96171
iwyu/mkvwriter: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ic3c0f943c3d9fc633d4b5b1f649f10ddf54692c7
2016-03-10 09:21:48 -08:00
Tom Finegan
75790e1e63
iwyu/mkvparser: Update includes.
...
Include what you use analysis based include update.
Change-Id: If117dad749c6854dd2023a64abef9ab3b163196b
2016-03-10 09:21:48 -08:00
Tom Finegan
5f673caf7a
iwyu/webm2pes_main: Update includes.
...
Include what you use analysis based include update.
Change-Id: I7fc997acd0839d9543438fca01000ebb37a45dbb
2016-03-10 09:21:48 -08:00
Tom Finegan
747244af1d
iwyu/vpxpes2ts_main: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ifa09162b0a6783e353e9cd494143c5118e22200d
2016-03-10 09:21:48 -08:00
Tom Finegan
94c985f5ff
iwyu/mkvmuxerutil: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6cd977b2bbeee4a8ef960a074aed52db35db4d89
2016-03-10 09:21:48 -08:00
Tom Finegan
c365630718
iwyu/mkvmuxer: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6edfaadf88ecbf52bfcb2de6e12716935e46bcd2
2016-03-10 09:21:48 -08:00
Tom Finegan
b15b8ef1a0
iwyu/file_util: Update includes.
...
Include what you use analysis based include update.
Change-Id: I1aafbf5d9781a04e4b05f8e63ee72c6070df7b2b
2016-03-10 09:21:48 -08:00
Tom Finegan
3dfba9576a
iwyu/hdr_util: Update includes.
...
Include what you use analysis based include update.
Change-Id: Iaa744570fe3e8f9eddc0fdbd1528c0689a3c40cb
2016-03-10 09:21:46 -08:00
Tom Finegan
baba8b128d
iwyu/vttdemux: Update includes.
...
Include what you use analysis based include update.
Change-Id: Id7b8b9113da70c378a9db904cac1701fc8ebd6d2
2016-03-10 09:21:19 -08:00
Tom Finegan
3212ec1223
iwyu/webvttparser: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ia02c7d2af742cb1643d28d0acfa94e3324c8fa46
2016-03-10 09:21:19 -08:00
Tom Finegan
b6d8d9241a
iwyu/sample_muxer_metadata: Update includes.
...
Include what you use analysis based include update.
Change-Id: Ib3fa6a5a3b6afadf56d52f7feb9264e18b454cd3
2016-03-10 09:21:18 -08:00
Tom Finegan
a9a1a01551
iwyu/sample_muxer: Update includes.
...
Include what you use analysis based include update.
Change-Id: I289bef3b5237940ef4f9b92168afca0765468e89
2016-03-09 15:11:23 -08:00
Tom Finegan
e020ffd183
iwyu/sample: Update includes.
...
Include what you use analysis based include update.
Change-Id: I51b3762ec3ffb003d19a5e26c939a71f8edf18ae
2016-03-09 15:11:18 -08:00
Tom Finegan
18834bcad0
iwyu/parser_tests: Update includes.
...
Include what you use analysis based include update.
Change-Id: I6bfb2c126cb8ade813e820d56bc0f965c8880c3b
2016-03-09 13:54:09 -08:00
Tom Finegan
9c00ae32e3
iwyu/muxer_tests: Update includes.
...
Include what you use analysis based include update.
Change-Id: I2f0c2626fe9f365a0dd9bcf47e873c1105e2e4d9
2016-03-09 13:51:34 -08:00
Tom Finegan
41a17eb108
iwyu/test_util: Update includes
...
Include what you use analysis based include update.
Change-Id: I92a2cb481f5475be51ffc8651782df7babe852ef
2016-03-09 13:50:56 -08:00
Tom Finegan
b6174be19d
muxer_tests: Fix windows brokenness.
...
- Wrap MkvWriter in std::unique_ptr to allow use of the
MkvWriter(FILE*) ctor (because MuxerTest owns the FILE*).
- Test temporary FILE* in Init(); don't assume it's valid.
- Close output FILE* before attempting to read it in
CuesBeforeClusters().
Change-Id: I4848adec7a24c8987fdd0924e7474b264837e8a9
2016-03-08 11:25:50 -08:00
Tom Finegan
e09251510f
file_util: Remove tmpnam() usage in MSVC.
...
Replace with windows/MSVC specific tmpnam_s().
Change-Id: I8c49e37c72630ebb14ea3c7734b96d0f79968772
2016-03-08 11:22:33 -08:00