Thomas Inskip
7b74ca12de
Fixed a miniscule odds race condition found by tsan (Thread sanitizer)
...
in ThreadedIofile.
Added loop to handle partial writes in ThreadedIoFile.
Change-Id: Ib62855ab849ffbfd00afc5b226dd81d4cd38ff51
2015-11-17 18:42:10 +00:00
KongQun Yang
d60cc9416f
Fix a possible crash if a file fails to be closed
...
Change-Id: I6bc806a68b81ea5bde09bada1175f257c296afcd
2015-11-13 10:07:13 -08:00
Rintaro Kuroiwa
29e14a3d6b
VOD text support
...
Change-Id: Ic69169c31d0a54de4895d49ff8b4a758039733a7
2015-11-11 12:26:25 -08:00
Thomas Inskip
05f80f961c
Fix for race condition when flushing ThreadedIoFile.
...
Change-Id: I46f26fa9fddf53ca5231c31d6442053ab5202ade
2015-10-20 16:44:15 +00:00
Kongqun Yang
47c79d08ce
Update code to resolve problems due to base updates.
...
Notably deprecate of OVERRIDE, to be replaced with C++11 override.
Bug: 22463130
Bug: 22664127
Change-Id: I12c82e092e9e8eb0870da4363307c3563a3531b7
2015-10-16 20:09:56 +00:00
Kongqun Yang
2a95367dd4
Move SAR extraction out of video_stream_info.cc
...
This fixes a circular dependency of media_base depends on filter and
filter depends on media_base.
Also added code to extract sar in WvmMediaParser if it is not yet
extracted when setting extra_data.
Change-Id: I1b5aef2444e4134c9b6663911ac5e5c4c220404a
2015-08-24 23:16:49 +00:00
Rintaro Kuroiwa
8d84ebfed7
Change LocalFileTest to use CreateTemporaryFile
...
- The tests couldn't run in parallel using gtest-parallel
(https://github.com/google/gtest-parallel ) because all the tests
used the same file.
Change-Id: I9a3d2c20c290fbf4bee2a1d79c4ce9bf802aefcf
2015-07-22 00:28:57 -07:00
Thomas Inskip
ada218c089
Added File Seek and Tell functionality.
...
Added ability to open files in direct-access mode (no buffering).
Change-Id: Icca71a60f6697967e7535a030c71414de95d8044
2015-05-21 12:48:20 -07:00
Thomas Inskip
14a1e06542
Changes for source code portability.
...
Change-Id: I06ebb0bb0cbf16c85eff066e606af5ec9033a206
2015-03-24 22:35:53 +00:00
KongQun Yang
7cac9da421
Fix various misc build issues in Windows
...
This is part of the effort to get edash_packager builds on Windows.
Change-Id: I1339f8f41a30ad3d5808ab19276d46ee902065e2
2015-03-24 13:52:18 -07:00
Thomas Inskip
e3d18b684c
Added static initialization and cleanup of libxml and libcurl.
...
Change-Id: I31cfc9a76c3c90c66059998ffc77371619a43acc
2015-03-24 11:01:10 -07:00
Thomas Inskip
0ff596e75b
Deprecated File::Eof.
...
Change-Id: I0cca5e175babcdeeb982f981f97f8dd1b0ae9649
2015-03-23 09:39:05 -07:00
Thomas Inskip
5ce7afeda4
Added threaded I/O.
...
Change-Id: I2528f5f48dafa1477f2d849b6b86cdda33e47f96
2015-03-20 21:15:39 +00:00
Thomas Inskip
f494f1f760
Fix for build break with clang.
...
Change-Id: I7af0b6b787324aa478c654f9a20e9008823a6378
2015-03-18 14:35:25 -07:00
Thomas Inskip
055ccde14f
Added implementation and tests of IoCache (thread-safe circular memory buffer).
...
Change-Id: Id057b641e4eb6f61d18ec3e0565580b23d1e4297
2015-03-18 19:24:57 +00:00
Thomas Inskip
a82bab9f3f
Added File::Delete as well as deletion of temporary files created by SingleSegmentSegmenter.
...
Change-Id: Id0aec2f83955f81d2a059c2d077e8381ec7ec1f7
2015-03-11 15:23:19 -07:00
KongQun Yang
15ae26e12f
Modify include headers to have "packager" in the path
...
This is a follow up to previous CL.
Generated using command:
find {media,app,mpd} -type f -exec sed -r -i 's/#include "(.*)"/#include
"packager\/\1"/' {} \;
common.gypi and mpd.gyp are also modified to take the path change into
consideration.
Change-Id: I1fb102b4eb73ae5fde5f4ab303a12cec09b05c33
2014-10-02 12:53:29 -07:00
KongQun Yang
b8126bc9da
Move source code into packager directory
...
Make it easier to be included and integrated into other code.
Change-Id: I609881688cc20f8fac676cbd91fde4753af32ee5
2014-10-02 12:32:14 -07:00