• watk's avatar
    media: Discard the previous decoder immediately on fallback · d16bb3ef
    watk authored
    Previously, after falling back to another decoder, we had to keep the
    old one alive in case it owned frames that were currently being
    displayed.
    
    Now all decoders produce frames that outlive themselves, so we can
    safely delete the decoder as soon as we no longer need it.
    
    This change also includes deletion of a related, but now unused,
    VideoFrame metadata value called DECODER_OWNS_FRAME.
    
    BUG=663988
    
    Review-Url: https://codereview.chromium.org/2841553003
    Cr-Commit-Position: refs/heads/master@{#466854}
    d16bb3ef
Name
Last commit
Last update
..
android Loading commit data...
audio_clock.cc Loading commit data...
audio_clock.h Loading commit data...
audio_clock_unittest.cc Loading commit data...
audio_decoder_selector_unittest.cc Loading commit data...
audio_decoder_unittest.cc Loading commit data...
audio_file_reader.cc Loading commit data...
audio_file_reader.h Loading commit data...
audio_file_reader_unittest.cc Loading commit data...
audio_renderer_algorithm.cc Loading commit data...
audio_renderer_algorithm.h Loading commit data...
audio_renderer_algorithm_unittest.cc Loading commit data...
audio_timestamp_validator.cc Loading commit data...
audio_timestamp_validator.h Loading commit data...
audio_timestamp_validator_unittest.cc Loading commit data...
blocking_url_protocol.cc Loading commit data...
blocking_url_protocol.h Loading commit data...
blocking_url_protocol_unittest.cc Loading commit data...
chunk_demuxer.cc Loading commit data...
chunk_demuxer.h Loading commit data...
chunk_demuxer_unittest.cc Loading commit data...
context_3d.h Loading commit data...
decoder_selector.cc Loading commit data...
decoder_selector.h Loading commit data...
decoder_stream.cc Loading commit data...
decoder_stream.h Loading commit data...
decoder_stream_traits.cc Loading commit data...
decoder_stream_traits.h Loading commit data...
decrypting_audio_decoder.cc Loading commit data...
decrypting_audio_decoder.h Loading commit data...
decrypting_audio_decoder_unittest.cc Loading commit data...
decrypting_demuxer_stream.cc Loading commit data...
decrypting_demuxer_stream.h Loading commit data...
decrypting_demuxer_stream_unittest.cc Loading commit data...
decrypting_video_decoder.cc Loading commit data...
decrypting_video_decoder.h Loading commit data...
decrypting_video_decoder_unittest.cc Loading commit data...
fake_video_decoder.cc Loading commit data...
fake_video_decoder.h Loading commit data...
fake_video_decoder_unittest.cc Loading commit data...
ffmpeg_aac_bitstream_converter.cc Loading commit data...
ffmpeg_aac_bitstream_converter.h Loading commit data...
ffmpeg_aac_bitstream_converter_unittest.cc Loading commit data...
ffmpeg_audio_decoder.cc Loading commit data...
ffmpeg_audio_decoder.h Loading commit data...
ffmpeg_bitstream_converter.h Loading commit data...
ffmpeg_demuxer.cc Loading commit data...
ffmpeg_demuxer.h Loading commit data...
ffmpeg_demuxer_unittest.cc Loading commit data...
ffmpeg_glue.cc Loading commit data...
ffmpeg_glue.h Loading commit data...
ffmpeg_glue_unittest.cc Loading commit data...
ffmpeg_h264_to_annex_b_bitstream_converter.cc Loading commit data...
ffmpeg_h264_to_annex_b_bitstream_converter.h Loading commit data...
ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc Loading commit data...
ffmpeg_h265_to_annex_b_bitstream_converter.cc Loading commit data...
ffmpeg_h265_to_annex_b_bitstream_converter.h Loading commit data...
ffmpeg_video_decoder.cc Loading commit data...
ffmpeg_video_decoder.h Loading commit data...
ffmpeg_video_decoder_unittest.cc Loading commit data...
file_data_source.cc Loading commit data...
file_data_source.h Loading commit data...
file_data_source_unittest.cc Loading commit data...
frame_processor.cc Loading commit data...
frame_processor.h Loading commit data...
frame_processor_unittest.cc Loading commit data...
gpu_video_decoder.cc Loading commit data...
gpu_video_decoder.h Loading commit data...
h264_bit_reader.cc Loading commit data...
h264_bit_reader.h Loading commit data...
h264_bit_reader_unittest.cc Loading commit data...
h264_bitstream_buffer.cc Loading commit data...
h264_bitstream_buffer.h Loading commit data...
h264_bitstream_buffer_unittest.cc Loading commit data...
h264_parser.cc Loading commit data...
h264_parser.h Loading commit data...
h264_parser_fuzzertest.cc Loading commit data...
h264_parser_unittest.cc Loading commit data...
h264_to_annex_b_bitstream_converter.cc Loading commit data...
h264_to_annex_b_bitstream_converter.h Loading commit data...
h264_to_annex_b_bitstream_converter_unittest.cc Loading commit data...
h265_parser.cc Loading commit data...
h265_parser.h Loading commit data...
h265_parser_unittest.cc Loading commit data...
in_memory_url_protocol.cc Loading commit data...
in_memory_url_protocol.h Loading commit data...
in_memory_url_protocol_unittest.cc Loading commit data...
ivf_parser.cc Loading commit data...
ivf_parser.h Loading commit data...
ivf_parser_unittest.cc Loading commit data...
jpeg_parser.cc Loading commit data...
jpeg_parser.h Loading commit data...
jpeg_parser_unittest.cc Loading commit data...
memory_data_source.cc Loading commit data...
memory_data_source.h Loading commit data...
memory_data_source_unittest.cc Loading commit data...
opus_constants.cc Loading commit data...
opus_constants.h Loading commit data...
pipeline_controller.cc Loading commit data...
pipeline_controller.h Loading commit data...
pipeline_controller_unittest.cc Loading commit data...
source_buffer_platform.cc Loading commit data...
source_buffer_platform.h Loading commit data...
source_buffer_platform_lowmem.cc Loading commit data...
source_buffer_range.cc Loading commit data...
source_buffer_range.h Loading commit data...
source_buffer_state.cc Loading commit data...
source_buffer_state.h Loading commit data...
source_buffer_state_unittest.cc Loading commit data...
source_buffer_stream.cc Loading commit data...
source_buffer_stream.h Loading commit data...
source_buffer_stream_unittest.cc Loading commit data...
stream_parser_factory.cc Loading commit data...
stream_parser_factory.h Loading commit data...
video_cadence_estimator.cc Loading commit data...
video_cadence_estimator.h Loading commit data...
video_cadence_estimator_unittest.cc Loading commit data...
video_decoder_selector_unittest.cc Loading commit data...
video_frame_stream_unittest.cc Loading commit data...
video_renderer_algorithm.cc Loading commit data...
video_renderer_algorithm.h Loading commit data...
video_renderer_algorithm_unittest.cc Loading commit data...
vp8_bool_decoder.cc Loading commit data...
vp8_bool_decoder.h Loading commit data...
vp8_bool_decoder_unittest.cc Loading commit data...
vp8_parser.cc Loading commit data...
vp8_parser.h Loading commit data...
vp8_parser_fuzzertest.cc Loading commit data...
vp8_parser_unittest.cc Loading commit data...
vp9_bool_decoder.cc Loading commit data...
vp9_bool_decoder.h Loading commit data...
vp9_compressed_header_parser.cc Loading commit data...
vp9_compressed_header_parser.h Loading commit data...
vp9_parser.cc Loading commit data...
vp9_parser.h Loading commit data...
vp9_parser_fuzzertest.cc Loading commit data...
vp9_parser_unittest.cc Loading commit data...
vp9_raw_bits_reader.cc Loading commit data...
vp9_raw_bits_reader.h Loading commit data...
vp9_raw_bits_reader_unittest.cc Loading commit data...
vp9_uncompressed_header_parser.cc Loading commit data...
vp9_uncompressed_header_parser.h Loading commit data...
vpx_video_decoder.cc Loading commit data...
vpx_video_decoder.h Loading commit data...
vpx_video_decoder_fuzzertest.cc Loading commit data...
webvtt_util.h Loading commit data...
wsola_internals.cc Loading commit data...
wsola_internals.h Loading commit data...