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

Side by Side Diff: media/mojo/services/mojo_demuxer_stream_impl.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/mojo/services/mojo_demuxer_stream_impl.h" 5 #include "media/mojo/services/mojo_demuxer_stream_impl.h"
6 6
7 #include <stdint.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "media/base/audio_decoder_config.h" 10 #include "media/base/audio_decoder_config.h"
9 #include "media/base/decoder_buffer.h" 11 #include "media/base/decoder_buffer.h"
10 #include "media/base/video_decoder_config.h" 12 #include "media/base/video_decoder_config.h"
11 #include "media/mojo/services/media_type_converters.h" 13 #include "media/mojo/services/media_type_converters.h"
12 #include "mojo/public/cpp/system/data_pipe.h" 14 #include "mojo/public/cpp/system/data_pipe.h"
13 15
14 namespace media { 16 namespace media {
15 17
16 MojoDemuxerStreamImpl::MojoDemuxerStreamImpl( 18 MojoDemuxerStreamImpl::MojoDemuxerStreamImpl(
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 119
118 // TODO(dalecurtis): Once we can write framed data to the DataPipe, fill via 120 // TODO(dalecurtis): Once we can write framed data to the DataPipe, fill via
119 // the producer handle and then read more to keep the pipe full. Waiting for 121 // the producer handle and then read more to keep the pipe full. Waiting for
120 // space can be accomplished using an AsyncWaiter. 122 // space can be accomplished using an AsyncWaiter.
121 callback.Run(static_cast<interfaces::DemuxerStream::Status>(status), 123 callback.Run(static_cast<interfaces::DemuxerStream::Status>(status),
122 interfaces::DecoderBuffer::From(buffer), audio_config.Pass(), 124 interfaces::DecoderBuffer::From(buffer), audio_config.Pass(),
123 video_config.Pass()); 125 video_config.Pass());
124 } 126 }
125 127
126 } // namespace media 128 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_demuxer_stream_adapter.cc ('k') | media/mojo/services/mojo_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698