shaka-packager/packager/media/base
KongQun Yang 299bb97490 Read enough bytes before detecting the container type
The input source may produce inputs with very small sizes. Demuxer
needs to accumulate enough bytes before trying to detect the container
type.

Issue: https://github.com/google/edash-packager/issues/11
Change-Id: Ie25339832a826e78f39b3b25abb98c1ad89e3021
2015-03-20 11:45:49 -07:00
..
test Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
aes_encryptor.cc Allow query stream info without decryption 2014-10-15 01:32:40 +00:00
aes_encryptor.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
aes_encryptor_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_stream_info.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_stream_info.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_timestamp_helper.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_timestamp_helper.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
audio_timestamp_helper_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
bit_reader.cc Optimize BitReader::SkipBits for large skips 2015-01-31 00:56:14 +00:00
bit_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
bit_reader_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_reader.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_writer.cc move mpd_options to its own file 2014-12-15 19:04:40 +00:00
buffer_writer.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
buffer_writer_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
byte_queue.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
byte_queue.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
closure_thread.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
closure_thread.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
closure_thread_unittest.cc Fix various errors discovered during integration 2014-10-06 12:44:54 -07:00
container_names.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
container_names.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
container_names_unittest.cc Fix various errors discovered during integration 2014-10-06 12:44:54 -07:00
decrypt_config.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decrypt_config.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decryptor_source.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
demuxer.cc Read enough bytes before detecting the container type 2015-03-20 11:45:49 -07:00
demuxer.h Added ability to cancel a Demuxer or Muxer run. 2015-02-09 12:56:52 -08:00
http_key_fetcher.cc KeyFetcher interface and HTTP impl to retrieve keys from the Widevine 2014-10-09 18:19:22 -07:00
http_key_fetcher.h KeyFetcher interface and HTTP impl to retrieve keys from the Widevine 2014-10-09 18:19:22 -07:00
http_key_fetcher_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
key_fetcher.cc KeyFetcher interface and HTTP impl to retrieve keys from the Widevine 2014-10-09 18:19:22 -07:00
key_fetcher.h KeyFetcher interface and HTTP impl to retrieve keys from the Widevine 2014-10-09 18:19:22 -07:00
key_source.cc Remove the restriction that key response contains all keys 2014-11-06 15:24:38 -08:00
key_source.h Remove the restriction that key response contains all keys 2014-11-06 15:24:38 -08:00
limits.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
media_base.gyp Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
media_parser.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
media_sample.cc Modify WVM media parser to support encrypted media sample. 2015-01-14 00:30:14 +00:00
media_sample.h Modify WVM media parser to support encrypted media sample. 2015-01-14 00:30:14 +00:00
media_stream.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
media_stream.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
muxer.cc Added ability to cancel a Demuxer or Muxer run. 2015-02-09 12:56:52 -08:00
muxer.h Added ability to cancel a Demuxer or Muxer run. 2015-02-09 12:56:52 -08:00
muxer_options.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
muxer_options.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_util.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
muxer_util.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
muxer_util_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
network_util.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
network_util.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
offset_byte_queue.cc Fix packager crash with corrupted media file 2014-12-23 14:29:59 -08:00
offset_byte_queue.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
offset_byte_queue_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
producer_consumer_queue.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
producer_consumer_queue_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
request_signer.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
request_signer.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rsa_key.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rsa_key.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
rsa_key_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
status.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
status.h Remove (D)CHECK_OK and usage of MemoryMappedFile 2014-10-08 16:19:31 -07:00
status_test_util_unittest.cc Move test files in media/base to test directory 2014-10-10 10:33:17 -07:00
status_unittest.cc Remove (D)CHECK_OK and usage of MemoryMappedFile 2014-10-08 16:19:31 -07:00
stream_info.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
stream_info.h Add a stream descriptor field for language. 2015-02-04 13:36:04 -08:00
text_track.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
timestamp.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
video_stream_info.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
video_stream_info.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
widevine_key_source.cc Remove the restriction that key response contains all keys 2014-11-06 15:24:38 -08:00
widevine_key_source.h Fix two packager crash bug with invalid arguments 2014-10-16 12:40:31 -07:00
widevine_key_source_unittest.cc Refactor WidevineKeySource to pass signer in setter instead 2014-10-14 19:50:14 -07:00