| Index: webrtc/video/video_stream_decoder.cc
|
| diff --git a/webrtc/video/video_stream_decoder.cc b/webrtc/video/video_stream_decoder.cc
|
| index 7a00e42093245f5eb36dd431af9cd94c84a9947e..41692872540e73b4ee188c8744274eabbcb647ee 100644
|
| --- a/webrtc/video/video_stream_decoder.cc
|
| +++ b/webrtc/video/video_stream_decoder.cc
|
| @@ -75,7 +75,8 @@ VideoStreamDecoder::~VideoStreamDecoder() {
|
| // callback won't necessarily be called from the decoding thread. The decoding
|
| // thread may have held the lock when calling VideoDecoder::Decode, Reset, or
|
| // Release. Acquiring the same lock in the path of decode callback can deadlock.
|
| -int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame) { // NOLINT
|
| +int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame,
|
| + int qp) { // NOLINT
|
| if (pre_render_callback_) {
|
| // Post processing is not supported if the frame is backed by a texture.
|
| if (!video_frame.video_frame_buffer()->native_handle()) {
|
| @@ -83,6 +84,7 @@ int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame) { // NOLINT
|
| }
|
| }
|
|
|
| + receive_stats_callback_->OnDecodedFrame(qp);
|
| incoming_video_stream_->OnFrame(video_frame);
|
|
|
| return 0;
|
|
|