Check for null |decode_cb_| and add debugging in D3D11VideoDecoder.
D3D11VideoDecoder is crashing periodically with a null |decode_cb_|. It's unclear how this is happening. This CL checks for the null callback and skips it, to prevent the crash. It also adds some debugging that hopefully will tell us where the null callback is coming from: - Provided to Decode() - Popped off the buffer queue in DoDecode - Cleared elsewhere Bug: 1012464 Change-Id: Idc4eb1842aa98989b9ceea30ed5aa769f0a63ce6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1954735Reviewed-by:Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#722652}
Showing
Please register or sign in to comment