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

Issue 10823420: Added more error checking for audio packets. (Closed)

Created:
8 years, 4 months ago by kxing
Modified:
8 years, 4 months ago
Reviewers:
Sergey Ulanov, garykac, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Added more error checking for audio packets. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152578

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed comment #

Total comments: 6

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M remoting/client/audio_decode_scheduler.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/plugin/pepper_audio_player.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M remoting/codec/audio_decoder.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/codec/audio_decoder_verbatim.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M remoting/codec/audio_encoder_verbatim.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/host/audio_capturer_win.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kxing
Could someone PTAL?
8 years, 4 months ago (2012-08-20 20:51:31 UTC) #1
Sergey Ulanov
http://codereview.chromium.org/10823420/diff/1/remoting/client/plugin/pepper_audio_player.cc File remoting/client/plugin/pepper_audio_player.cc (right): http://codereview.chromium.org/10823420/diff/1/remoting/client/plugin/pepper_audio_player.cc#newcode79 remoting/client/plugin/pepper_audio_player.cc:79: if (!packet.get()) I think I already mentioned in one ...
8 years, 4 months ago (2012-08-20 22:26:19 UTC) #2
kxing
Could someone PTAL again? http://codereview.chromium.org/10823420/diff/1/remoting/client/plugin/pepper_audio_player.cc File remoting/client/plugin/pepper_audio_player.cc (right): http://codereview.chromium.org/10823420/diff/1/remoting/client/plugin/pepper_audio_player.cc#newcode79 remoting/client/plugin/pepper_audio_player.cc:79: if (!packet.get()) On 2012/08/20 22:26:20, ...
8 years, 4 months ago (2012-08-20 22:48:22 UTC) #3
Sergey Ulanov
lgtm http://codereview.chromium.org/10823420/diff/3002/remoting/codec/audio_decoder_verbatim.cc File remoting/codec/audio_decoder_verbatim.cc (right): http://codereview.chromium.org/10823420/diff/3002/remoting/codec/audio_decoder_verbatim.cc#newcode26 remoting/codec/audio_decoder_verbatim.cc:26: return scoped_ptr<AudioPacket>(); log a warning that the packet ...
8 years, 4 months ago (2012-08-20 22:53:08 UTC) #4
kxing
I'll commit this soon, unless someone objects. http://codereview.chromium.org/10823420/diff/3002/remoting/codec/audio_decoder_verbatim.cc File remoting/codec/audio_decoder_verbatim.cc (right): http://codereview.chromium.org/10823420/diff/3002/remoting/codec/audio_decoder_verbatim.cc#newcode26 remoting/codec/audio_decoder_verbatim.cc:26: return scoped_ptr<AudioPacket>(); ...
8 years, 4 months ago (2012-08-20 23:15:47 UTC) #5
Wez
http://codereview.chromium.org/10823420/diff/10001/remoting/client/audio_decode_scheduler.cc File remoting/client/audio_decode_scheduler.cc (right): http://codereview.chromium.org/10823420/diff/10001/remoting/client/audio_decode_scheduler.cc#newcode54 remoting/client/audio_decode_scheduler.cc:54: // Only process packet if they are non-null. nit: ...
8 years, 4 months ago (2012-08-20 23:23:51 UTC) #6
kxing
I'll commit this soon. http://codereview.chromium.org/10823420/diff/10001/remoting/client/audio_decode_scheduler.cc File remoting/client/audio_decode_scheduler.cc (right): http://codereview.chromium.org/10823420/diff/10001/remoting/client/audio_decode_scheduler.cc#newcode54 remoting/client/audio_decode_scheduler.cc:54: // Only process packet if ...
8 years, 4 months ago (2012-08-21 14:25:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kxing@chromium.org/10823420/13002
8 years, 4 months ago (2012-08-21 14:26:17 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-21 16:42:32 UTC) #9
Change committed as 152578

Powered by Google App Engine
This is Rietveld 408576698