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

Unified Diff: content/common/gpu/media/h264_dpb.cc

Issue 1369673002: H264Decoder: Handle gaps in frame_num. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/h264_dpb.cc
diff --git a/content/common/gpu/media/h264_dpb.cc b/content/common/gpu/media/h264_dpb.cc
index 1220d591fc545d04e9bbc634d4d29e94346066cf..0bc32e800ed1ad993e16cdb49fbe93124fe77060 100644
--- a/content/common/gpu/media/h264_dpb.cc
+++ b/content/common/gpu/media/h264_dpb.cc
@@ -11,11 +11,15 @@
namespace content {
H264Picture::H264Picture()
- : top_field_order_cnt(0),
+ : pic_order_cnt_type(0),
+ top_field_order_cnt(0),
bottom_field_order_cnt(0),
pic_order_cnt(0),
pic_order_cnt_msb(0),
pic_order_cnt_lsb(0),
+ delta_pic_order_cnt_bottom(0),
+ delta_pic_order_cnt0(0),
+ delta_pic_order_cnt1(0),
pic_num(0),
long_term_pic_num(0),
frame_num(0),
@@ -23,11 +27,14 @@ H264Picture::H264Picture()
frame_num_wrap(0),
long_term_frame_idx(0),
type(media::H264SliceHeader::kPSlice),
+ nal_ref_idc(0),
idr(false),
+ idr_pic_id(0),
ref(false),
long_term(false),
outputted(false),
mem_mgmt_5(false),
+ nonexisting(false),
field(FIELD_NONE),
long_term_reference_flag(false),
adaptive_ref_pic_marking_mode_flag(false),

Powered by Google App Engine
This is Rietveld 408576698