Fix gpu crash when switching from HDR to SDR video in Intel platform
When playing a SDR video after playing a HDR video, GPU process will crash on Intel platform. The root cause is Chrome sets different color space in VP without reset VP, which will cause something wrong happens in VP. This CL provides a fix that VP will reset when input/output color space changes. What's more, color space will be set to VP only when it changes, which reduces frequency of calling VideoProcessorSetStream/*Output*/ColorSpace1() Bug: 1121061 Change-Id: I096e5fb47593e0df034452719029a3750850bc77 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371478 Commit-Queue: Richard Li <richard.li@intel.com> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#805571}
Showing
Please register or sign in to comment