| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/filters/chunk_demuxer.h" | 5 #include "media/filters/chunk_demuxer.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "media/base/audio_decoder_config.h" | 10 #include "media/base/audio_decoder_config.h" |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 return false; | 795 return false; |
| 796 | 796 |
| 797 // TODO(annacc): return Append's result after http://crbug.com/125072 is fixed | 797 // TODO(annacc): return Append's result after http://crbug.com/125072 is fixed |
| 798 video_->Append(buffers); | 798 video_->Append(buffers); |
| 799 | 799 |
| 800 return true; | 800 return true; |
| 801 } | 801 } |
| 802 | 802 |
| 803 bool ChunkDemuxer::OnKeyNeeded(scoped_array<uint8> init_data, | 803 bool ChunkDemuxer::OnKeyNeeded(scoped_array<uint8> init_data, |
| 804 int init_data_size) { | 804 int init_data_size) { |
| 805 client_->KeyNeeded(init_data.Pass(), init_data_size); | 805 client_->DemuxerKeyNeeded(init_data.Pass(), init_data_size); |
| 806 return true; | 806 return true; |
| 807 } | 807 } |
| 808 | 808 |
| 809 } // namespace media | 809 } // namespace media |
| OLD | NEW |