• Chris Watkins's avatar
    media: Implement MediaCodecVideoDecoder Reset() · b7389d11
    Chris Watkins authored
    This CL implements Reset() which enables seeking to work as expected.
    CodecWrapper also now takes a closure that it will call whenever an
    output buffer is released back to the codec to signal that the codec
    might now accept more input.
    
    Bug: 660942
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: I2b91cffafc6ca4940a7bdc819491359f47b592f0
    Reviewed-on: https://chromium-review.googlesource.com/597383
    Commit-Queue: Chris Watkins <watk@chromium.org>
    Reviewed-by: default avatarFrank Liberato <liberato@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#491919}
    b7389d11
media_codec_video_decoder.h 7.77 KB