shaka-packager/packager/media/formats/webm
KongQun Yang 9c861d03f7 Report an error when disk is full
Previously packaging completes successfully without any error
or warning.

With the fix, an error will be reported if write fails. It may
appear as "Cannot close file error" as we use threaded IO, which
could delay the error reporting until Close() call, so the user
of the File API needs to make sure Close() returns successfully.

Also fixed a deadlock in threaded_io_file if internal_file->Write
fails.

Fixes #160

Change-Id: I17f945150fb4021d2dcdbe784e557673f53ca583
2017-09-15 22:22:12 +00:00
..
cluster_builder.cc Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
cluster_builder.h Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
encrypted_segmenter_unittest.cc Fix WebM timestamp overflow if longer than 2.5 hours 2017-05-17 17:00:44 -07:00
encryptor.cc Integrate EncryptionHandler 2017-03-23 18:25:59 +00:00
encryptor.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
encryptor_unittest.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00
mkv_writer.cc Report an error when disk is full 2017-09-15 22:22:12 +00:00
mkv_writer.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
multi_segment_segmenter.cc Change MuxerListener::OnMediaEnd to take ranges 2017-07-11 15:59:16 -07:00
multi_segment_segmenter.h Change MuxerListener::OnMediaEnd to take ranges 2017-07-11 15:59:16 -07:00
multi_segment_segmenter_unittest.cc Fix WebM timestamp overflow if longer than 2.5 hours 2017-05-17 17:00:44 -07:00
seek_head.cc [WebM] Use system temp directory if temp_dir is not specified 2016-10-13 21:48:00 +00:00
seek_head.h [WebM] Move index segment after init segment 2016-10-01 00:34:56 +00:00
segmenter.cc Fix misleading error messages in WebM output 2017-05-30 16:29:47 -07:00
segmenter.h Change MuxerListener::OnMediaEnd to take ranges 2017-07-11 15:59:16 -07:00
segmenter_test_base.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
segmenter_test_base.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
single_segment_segmenter.cc Remove size parameter in OnMediaEnd 2017-07-21 20:42:44 +00:00
single_segment_segmenter.h Change MuxerListener::OnMediaEnd to take ranges 2017-07-11 15:59:16 -07:00
single_segment_segmenter_unittest.cc Fix WebM timestamp overflow if longer than 2.5 hours 2017-05-17 17:00:44 -07:00
tracks_builder.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
tracks_builder.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
two_pass_single_segment_segmenter.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
two_pass_single_segment_segmenter.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
webm.gyp Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
webm_audio_client.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_audio_client.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_cluster_parser.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_cluster_parser.h Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_cluster_parser_unittest.cc Rename trick play rate to trick play factor. 2017-05-17 21:51:34 +00:00
webm_constants.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_constants.h Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_content_encodings.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_content_encodings.h Add init_segment name in --help 2017-05-02 10:25:31 -07:00
webm_content_encodings_client.cc Deprecate STLDeleter and string_as_array 2016-09-01 17:39:11 +00:00
webm_content_encodings_client.h Deprecate STLDeleter and string_as_array 2016-09-01 17:39:11 +00:00
webm_content_encodings_client_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_crypto_helpers.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_crypto_helpers.h Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_info_parser.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_info_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_media_parser.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_media_parser.h Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_muxer.cc Remove size parameter in OnMediaEnd 2017-07-21 20:42:44 +00:00
webm_muxer.h Use size_t as the type of stream_index 2017-03-16 20:54:48 +00:00
webm_parser.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_parser_unittest.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
webm_tracks_parser.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_tracks_parser.h Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_tracks_parser_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
webm_video_client.cc Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_video_client.h Add support for WebM colour element 2017-05-02 20:22:17 +00:00
webm_webvtt_parser.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_webvtt_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
webm_webvtt_parser_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00