• Scott Violet's avatar
    Revert "MojoVideoDecoder: Add histogram to track initialization and error." · 6f002a06
    Scott Violet authored
    This reverts commit 6aac2af3.
    
    Reason for revert: Caused breakage of mash test. See https://crbug.com/902870.
    
    Original change's description:
    > MojoVideoDecoder: Add histogram to track initialization and error.
    > 
    > The autotest video_ChromeHWDecodeUsed verifies Chrome used the HW
    > decoding when playing a video stream by checking the histogram value,
    > which is reported from GpuVideoDecoder.
    > In order to keep the test pass during switching from GpuVideoDecoder
    > to MojoVideoDecoder, we have to report the same histogram value
    > temporarily from MojoVideoDecoder.
    > 
    > With this CL, we can enable MojoVideoDecoder at ChromeOS platform.
    > 
    > BUG=chromium:902968
    > TEST=Pass video_ChromeHWDecodeUsed autotest on Eve
    > TEST=Play video at Youtube on Eve and confirm the successfull option
    >      of Media.GpuVideoDecoderInitializeStatus are increased.
    > 
    > Change-Id: I26fc53704843e9b153bbee304e8f60ab3a7b0417
    > Reviewed-on: https://chromium-review.googlesource.com/c/1328634
    > Commit-Queue: Chih-Yu Huang <akahuang@chromium.org>
    > Reviewed-by: Dan Sanders <sandersd@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#607890}
    
    TBR=posciak@chromium.org,sandersd@chromium.org,akahuang@chromium.org,hiroh@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: chromium:902968
    Change-Id: I3b74c752b6cc34dcbcba203eeb39707f4921d405
    Reviewed-on: https://chromium-review.googlesource.com/c/1340378Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Scott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#608874}
    6f002a06
media_switches.cc 22.7 KB