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

Unified Diff: media/gpu/h264_decoder.cc

Issue 1973753003: media/gpu: restore some of the reformatting done during migration to media/gpu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/gpu/h264_decoder.cc
diff --git a/media/gpu/h264_decoder.cc b/media/gpu/h264_decoder.cc
index 8bb39d847e06f597c741dbf2d45a40c06cf29876..97a2c70865f07c4e642eb35bd7a90883274619a6 100644
--- a/media/gpu/h264_decoder.cc
+++ b/media/gpu/h264_decoder.cc
@@ -643,8 +643,8 @@ bool H264Decoder::ModifyReferencePicList(
default:
// May be recoverable.
DVLOG(1) << "Invalid modification_of_pic_nums_idc="
- << list_mod->modification_of_pic_nums_idc << " in position "
- << i;
+ << list_mod->modification_of_pic_nums_idc
+ << " in position " << i;
break;
}
@@ -669,8 +669,8 @@ void H264Decoder::OutputPic(scoped_refptr<H264Picture> pic) {
}
DVLOG_IF(1, pic->pic_order_cnt < last_output_poc_)
- << "Outputting out of order, likely a broken stream: " << last_output_poc_
- << " -> " << pic->pic_order_cnt;
+ << "Outputting out of order, likely a broken stream: "
+ << last_output_poc_ << " -> " << pic->pic_order_cnt;
last_output_poc_ = pic->pic_order_cnt;
DVLOG(4) << "Posting output task for POC: " << pic->pic_order_cnt;
@@ -1319,7 +1319,7 @@ H264Decoder::DecodeResult H264Decoder::Decode() {
// We can't resume from a non-IDR slice.
if (state_ != kDecoding)
break;
- // else fallthrough
+ // else fallthrough
case media::H264NALU::kIDRSlice: {
// TODO(posciak): the IDR may require an SPS that we don't have
// available. For now we'd fail if that happens, but ideally we'd like
« no previous file with comments | « media/gpu/gpu_video_decode_accelerator_factory_impl.cc ('k') | media/gpu/ipc/service/gpu_video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698