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

Issue 2690183004: Handle InitDecode and reset in fallback decoder. (Closed)

Created:
3 years, 10 months ago by pbos-webrtc
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, stefan-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Handle InitDecode and reset in fallback decoder. Makes sure video decoder software fallback handles InitDecode() failures, and properly releases the pointer after ::Release() so that another decode failure will properly reinitialize the decoder. Also makes sure to not call Decode() without a previous InitDecode() succeeding. BUG=webrtc:7154 R=noahric@chromium.org, sophiechang@chromium.org Review-Url: https://codereview.webrtc.org/2690183004 . Cr-Commit-Position: refs/heads/master@{#16594} Committed: https://chromium.googlesource.com/external/webrtc/+/f812e45d8f1b876a52787884fc529feb37ba6135

Patch Set 1 #

Total comments: 5

Patch Set 2 : remove local puts #

Patch Set 3 : logs #

Patch Set 4 : remove puts from test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -8 lines) Patch
M webrtc/media/engine/videodecodersoftwarefallbackwrapper.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc View 1 2 4 chunks +39 lines, -7 lines 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper_unittest.cc View 1 2 3 3 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 16 (10 generated)
pbos-webrtc
PTAL
3 years, 10 months ago (2017-02-13 20:13:38 UTC) #3
pbos-webrtc
remove local puts
3 years, 10 months ago (2017-02-13 20:27:20 UTC) #8
sophiechang-webrtc
lgtm
3 years, 10 months ago (2017-02-13 20:40:26 UTC) #9
noahric
lgtm https://codereview.webrtc.org/2690183004/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc File webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc (right): https://codereview.webrtc.org/2690183004/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc#newcode81 webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc:81: puts("::Decode no fallback"); Remove puts. Though I would ...
3 years, 10 months ago (2017-02-13 20:42:30 UTC) #10
pbos-webrtc
https://codereview.webrtc.org/2690183004/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc File webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc (right): https://codereview.webrtc.org/2690183004/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc#newcode81 webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc:81: puts("::Decode no fallback"); On 2017/02/13 20:42:29, noahric wrote: > ...
3 years, 10 months ago (2017-02-13 20:48:46 UTC) #11
pbos-webrtc
3 years, 10 months ago (2017-02-13 22:11:11 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
f812e45d8f1b876a52787884fc529feb37ba6135 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698