VideoFrameExternalResources returned needs HOLE for type for VIDEO_HOLE
commit7d92d89f2a2406ed7e36dbe14a8ea85a551e6c9b
authorjkardatzke <jkardatzke@google.com>
Mon, 21 Sep 2015 20:40:22 +0000 (21 13:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 21 Sep 2015 20:41:12 +0000 (21 20:41 +0000)
tree6d27edfa2384da0d6f21e85ad05c48e47e2f37c7
parent88ad0ccc5de9d9ed34f23837b49084a5cf33c645
VideoFrameExternalResources returned needs HOLE for type for VIDEO_HOLE

VideoHole is created with an UNKNOWN pixel format. A recent change then
caused this to no longer return a VideoFrameExternalResources that
indicated the type was HOLE. This change corrects that by moving the
#ifdef block from CreateForSoftwarePlanes into
CreateExternalResourcesFromVideoFrame.
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1338353003

Cr-Commit-Position: refs/heads/master@{#350010}
cc/resources/video_resource_updater.cc