Chromium Code Reviews| Index: media/filters/vpx_video_decoder.cc |
| diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc |
| index b1415eea1d14ca668f040405fe79a197d5e7e1ab..a8a116a3338456b173cac9ea92fcece6d1d739c6 100644 |
| --- a/media/filters/vpx_video_decoder.cc |
| +++ b/media/filters/vpx_video_decoder.cc |
| @@ -354,10 +354,10 @@ void VpxVideoDecoder::DecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer) { |
| return; |
| } |
| - base::ResetAndReturn(&decode_cb_).Run(kOk); |
| - |
| if (video_frame.get()) |
| output_cb_.Run(video_frame); |
| + |
| + base::ResetAndReturn(&decode_cb_).Run(kOk); |
|
xhwang
2015/01/16 23:50:09
See my comment above. What I suggested should also
Sergey Ulanov
2015/01/20 23:52:26
Done.
|
| } |
| bool VpxVideoDecoder::VpxDecode(const scoped_refptr<DecoderBuffer>& buffer, |