shaka-packager/packager/file
KongQun Yang 0342adb132 Fix possible packager hangs when reading mp4 from FIFO
For MP4 files, mp4 parser tries to open and read the same file again
to handle trailing MOOV box.

Open FIFO again may result in packager hang.

Update the code to only attempt to load MOOV for local regular files,
as FIFO and remote files are unseekable anyway.

Fixes #664.

Change-Id: Ib286d2876d202cd5a248ffe70b13589b3cc74bc9
2019-10-21 18:49:52 -07:00
..
public Add support for callback file 2017-09-07 19:26:26 +00:00
callback_file.cc Add support for callback file 2017-09-07 19:26:26 +00:00
callback_file.h Add support for callback file 2017-09-07 19:26:26 +00:00
callback_file_unittest.cc Add support for callback file 2017-09-07 19:26:26 +00:00
file.cc Fix possible packager hangs when reading mp4 from FIFO 2019-10-21 18:49:52 -07:00
file.gyp Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
file.h Fix possible packager hangs when reading mp4 from FIFO 2019-10-21 18:49:52 -07:00
file_closer.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
file_test_util.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
file_unittest.cc Fix possible packager hangs when reading mp4 from FIFO 2019-10-21 18:49:52 -07:00
file_util.cc Make sure TempFilePath always generate unique file path 2018-08-08 17:33:01 +00:00
file_util.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
file_util_unittest.cc Make sure TempFilePath always generate unique file path 2018-08-08 17:33:01 +00:00
io_cache.cc Add IO Cache circular buffer full warning 2018-06-29 00:19:14 +00:00
io_cache.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
io_cache_unittest.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
local_file.cc Set output directory permission appropriately 2018-12-11 23:17:15 +00:00
local_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
memory_file.cc Make MemoryFile thread-safe 2018-08-08 17:32:46 +00:00
memory_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
memory_file_unittest.cc Make MemoryFile thread-safe 2018-08-08 17:32:46 +00:00
threaded_io_file.cc Removing dependence on base file atomicops.h 2018-07-23 22:19:29 +00:00
threaded_io_file.h Removing dependence on base file atomicops.h 2018-07-23 22:19:29 +00:00
udp_file.cc Log socket error code on failure 2019-09-10 21:44:28 +00:00
udp_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
udp_options.cc Add buffer_size UDP file options 2018-06-29 00:19:30 +00:00
udp_options.h Add buffer_size UDP file options 2018-06-29 00:19:30 +00:00
udp_options_unittest.cc Add buffer_size UDP file options 2018-06-29 00:19:30 +00:00