media: Reland "Simplify {Audio|Video}Decoder initialization callback."
commit59c321f25857b9bc81cb57670854ff9783a44970
authorxhwang <xhwang@chromium.org>
Fri, 5 Jun 2015 23:46:55 +0000 (5 16:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Jun 2015 23:47:27 +0000 (5 23:47 +0000)
treebee7d0faca964c7133e902368d261870c62e2e52
parent8c191a648f0b1d69a5bc7f5c823a15d944b78f95
media: Reland "Simplify {Audio|Video}Decoder initialization callback."

This reverts commit e51969862119f6a721ec5299e41f01cd3df5fd4a with fixes in media/cast/sender/h264_vt_encoder_unittest.cc

TBR=dalecurtis@chromium.org,watk@chromium.org,bbudge@chromium.org
BUG=126070,332204
TEST=Updated unittests.

Review URL: https://codereview.chromium.org/1143223007

Cr-Commit-Position: refs/heads/master@{#333178}
38 files changed:
content/renderer/pepper/video_decoder_shim.cc
media/base/audio_decoder.h
media/base/mock_filters.h
media/base/test_helpers.cc
media/base/test_helpers.h
media/base/video_decoder.h
media/cast/sender/h264_vt_encoder_unittest.cc
media/filters/audio_decoder_selector_unittest.cc
media/filters/audio_decoder_unittest.cc
media/filters/decoder_selector.cc
media/filters/decoder_selector.h
media/filters/decoder_stream.cc
media/filters/decoder_stream.h
media/filters/decoder_stream_traits.cc
media/filters/decoder_stream_traits.h
media/filters/decrypting_audio_decoder.cc
media/filters/decrypting_audio_decoder.h
media/filters/decrypting_audio_decoder_unittest.cc
media/filters/decrypting_video_decoder.cc
media/filters/decrypting_video_decoder.h
media/filters/decrypting_video_decoder_unittest.cc
media/filters/fake_video_decoder.cc
media/filters/fake_video_decoder.h
media/filters/fake_video_decoder_unittest.cc
media/filters/ffmpeg_audio_decoder.cc
media/filters/ffmpeg_audio_decoder.h
media/filters/ffmpeg_video_decoder.cc
media/filters/ffmpeg_video_decoder.h
media/filters/ffmpeg_video_decoder_unittest.cc
media/filters/gpu_video_decoder.cc
media/filters/gpu_video_decoder.h
media/filters/opus_audio_decoder.cc
media/filters/opus_audio_decoder.h
media/filters/video_decoder_selector_unittest.cc
media/filters/vpx_video_decoder.cc
media/filters/vpx_video_decoder.h
media/renderers/audio_renderer_impl_unittest.cc
media/renderers/video_renderer_impl_unittest.cc