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

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

Issue 2908303003: media: Create Mojo StructTraits for VideoFrame (Closed)
Patch Set: Code formatting. Created 3 years, 7 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_video_decoder_service.cc
diff --git a/media/mojo/services/mojo_video_decoder_service.cc b/media/mojo/services/mojo_video_decoder_service.cc
index 2ab3161f504c021df5255692a0539d980d9e4505..d591cabfedede79c84f5dc60b5bd2d17c61e367a 100644
--- a/media/mojo/services/mojo_video_decoder_service.cc
+++ b/media/mojo/services/mojo_video_decoder_service.cc
@@ -134,7 +134,7 @@ void MojoVideoDecoderService::OnDecoderOutput(
const scoped_refptr<VideoFrame>& frame) {
DVLOG(2) << __func__;
DCHECK(client_);
- client_->OnVideoFrameDecoded(mojom::VideoFrame::From(frame), base::nullopt);
+ client_->OnVideoFrameDecoded(frame, base::nullopt);
}
void MojoVideoDecoderService::OnReleaseMailbox(

Powered by Google App Engine
This is Rietveld 408576698