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

Unified Diff: media/mojo/services/mojo_demuxer_stream_impl.cc

Issue 1255083004: media: Mojo interfaces renaming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: media/mojo/services/mojo_demuxer_stream_impl.cc
diff --git a/media/mojo/services/mojo_demuxer_stream_impl.cc b/media/mojo/services/mojo_demuxer_stream_impl.cc
index 89971059e858871b140b8ba6b2f00db38e3a1636..ffe92714fa1c0824f64d8cc607fda70d0993f326 100644
--- a/media/mojo/services/mojo_demuxer_stream_impl.cc
+++ b/media/mojo/services/mojo_demuxer_stream_impl.cc
@@ -92,14 +92,14 @@ void MojoDemuxerStreamImpl::OnBufferReady(
}
callback.Run(interfaces::DemuxerStream::STATUS_CONFIG_CHANGED,
- interfaces::MediaDecoderBufferPtr(), audio_config.Pass(),
+ interfaces::DecoderBufferPtr(), audio_config.Pass(),
video_config.Pass());
return;
}
if (status == media::DemuxerStream::kAborted) {
callback.Run(interfaces::DemuxerStream::STATUS_ABORTED,
- interfaces::MediaDecoderBufferPtr(), audio_config.Pass(),
+ interfaces::DecoderBufferPtr(), audio_config.Pass(),
video_config.Pass());
return;
}
@@ -119,8 +119,8 @@ void MojoDemuxerStreamImpl::OnBufferReady(
// the producer handle and then read more to keep the pipe full. Waiting for
// space can be accomplished using an AsyncWaiter.
callback.Run(static_cast<interfaces::DemuxerStream::Status>(status),
- interfaces::MediaDecoderBuffer::From(buffer),
- audio_config.Pass(), video_config.Pass());
+ interfaces::DecoderBuffer::From(buffer), audio_config.Pass(),
+ video_config.Pass());
}
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698