Revert "Add media::GetFormatDescriptionColorSpace"
This reverts commit 6c5fa707. Reason for revert: VTConfigUtil.FormatDescriptionBT709 and FormatDescriptionInvalid are failing on mac https://ci.chromium.org/p/chromium/builders/ci/Mac10.10%20Tests/58972 Original change's description: > Add media::GetFormatDescriptionColorSpace > > This function is nearly identical to media::GetImageBufferColorSpace, > but instead operates on a CMFormatDescriptionRef. > > Add DCHECKs that the behavior of the two functions be the same, that is, > the kCVImageBuffer-prefixed and kCMFormatDescription-prefixed > constants be equal. > > Use base::mac::CFCast instead of reinterpret_casts. > > The next patch in this sequence will move these two functions over > to media/base/mac, because it will be accessed in capture. > > Bug: 959962 > Change-Id: I8a4d8468abc866a13cb6181cbd49d9ee04288124 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436513 > Commit-Queue: ccameron <ccameron@chromium.org> > Reviewed-by: Dale Curtis <dalecurtis@chromium.org> > Cr-Commit-Position: refs/heads/master@{#811829} TBR=dalecurtis@chromium.org,ccameron@chromium.org Change-Id: Iaa57cf20273eb0bcdace23a1ee9e588da15ea733 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 959962 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438551Reviewed-by:Keishi Hattori <keishi@chromium.org> Commit-Queue: Keishi Hattori <keishi@chromium.org> Cr-Commit-Position: refs/heads/master@{#811902}
Showing
This diff is collapsed.
Please register or sign in to comment