Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Side by Side Diff: chromecast/media/cma/base/cast_decoder_buffer_impl.cc

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address alokp@ comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chromecast/media/cma/base/cast_decoder_buffer_impl.h" 5 #include "chromecast/media/cma/base/cast_decoder_buffer_impl.h"
6 6
7 namespace chromecast { 7 namespace chromecast {
8 namespace media { 8 namespace media {
9 9
10 CastDecoderBufferImpl::CastDecoderBufferImpl( 10 CastDecoderBufferImpl::CastDecoderBufferImpl(
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 bool CastDecoderBufferImpl::end_of_stream() const { 36 bool CastDecoderBufferImpl::end_of_stream() const {
37 return buffer_->end_of_stream(); 37 return buffer_->end_of_stream();
38 } 38 }
39 39
40 const scoped_refptr<DecoderBufferBase>& CastDecoderBufferImpl::buffer() const { 40 const scoped_refptr<DecoderBufferBase>& CastDecoderBufferImpl::buffer() const {
41 return buffer_; 41 return buffer_;
42 } 42 }
43 43
44 void CastDecoderBufferImpl::set_buffer(
45 const scoped_refptr<DecoderBufferBase>& buffer) {
46 buffer_ = buffer;
47 }
48
44 } // namespace media 49 } // namespace media
45 } // namespace chromecast 50 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/media/cma/base/cast_decoder_buffer_impl.h ('k') | chromecast/media/cma/filters/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698