Remove the IsValidConfig call in GetVideoBuffer.
The VideoFrame::IsValidConfig() call in FFmpegVideoDecoder::GetVideoBuffer() is no longer necessary. It is called by the frame_pool_.CreateFrame() call. The chain of calls is: VideoFramePool::CreateFrame() --> VideoFramePool::PoolImpl::CreateFrame() --> VideoFrame::CreateZeroInitializedFrame() --> VideoFrame::CreateFrameInternal() --> VideoFrame::CreateFrameWithLayout() --> VideoFrame::IsValidConfig() Bug: N/A Change-Id: Id597f6ef5eb2c144cbc6c7b2f97a1c751be67a1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042928Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Chrome Cunningham <chcunningham@chromium.org> Commit-Queue: Wan-Teh Chang <wtc@google.com> Cr-Commit-Position: refs/heads/master@{#741353}
Showing
Please register or sign in to comment