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

Side by Side Diff: media/video/picture.cc

Issue 1750213002: Fix Android black frames from MSE config changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address the easy feedback, awaiting high level design sign off Created 4 years, 9 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
« media/video/picture.h ('K') | « media/video/picture.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/video/picture.h" 5 #include "media/video/picture.h"
6 6
7 namespace media { 7 namespace media {
8 8
9 PictureBuffer::PictureBuffer(int32_t id, gfx::Size size, uint32_t texture_id) 9 PictureBuffer::PictureBuffer(int32_t id, gfx::Size size, uint32_t texture_id)
10 : id_(id), size_(size), texture_id_(texture_id), internal_texture_id_(0) {} 10 : id_(id), size_(size), texture_id_(texture_id), internal_texture_id_(0) {}
(...skipping 13 matching lines...) Expand all
24 const gpu::Mailbox& texture_mailbox) 24 const gpu::Mailbox& texture_mailbox)
25 : id_(id), 25 : id_(id),
26 size_(size), 26 size_(size),
27 texture_id_(texture_id), 27 texture_id_(texture_id),
28 internal_texture_id_(0), 28 internal_texture_id_(0),
29 texture_mailbox_(texture_mailbox) {} 29 texture_mailbox_(texture_mailbox) {}
30 30
31 Picture::Picture(int32_t picture_buffer_id, 31 Picture::Picture(int32_t picture_buffer_id,
32 int32_t bitstream_buffer_id, 32 int32_t bitstream_buffer_id,
33 const gfx::Rect& visible_rect, 33 const gfx::Rect& visible_rect,
34 bool allow_overlay) 34 bool allow_overlay,
35 bool size_changed)
35 : picture_buffer_id_(picture_buffer_id), 36 : picture_buffer_id_(picture_buffer_id),
36 bitstream_buffer_id_(bitstream_buffer_id), 37 bitstream_buffer_id_(bitstream_buffer_id),
37 visible_rect_(visible_rect), 38 visible_rect_(visible_rect),
38 allow_overlay_(allow_overlay) {} 39 allow_overlay_(allow_overlay),
40 size_changed_(size_changed) {}
39 41
40 } // namespace media 42 } // namespace media
OLDNEW
« media/video/picture.h ('K') | « media/video/picture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698