Use VideoFrame::unique_id() to detect when frame is copied
Previously WebMediaPlayerMS::FrameDeliverer was keeping pointers to the original frames passed to GpuMemoryBufferVideoFramePool in order to detect when the original frame is returned back. This change updates it to use VideoFrame::unique_id(), which allows to avoid adding ref count for the frame. Change-Id: I5186d9709debecaccc768f485de3233dde906b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333568 Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Guido Urdaneta <guidou@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#794206}
Showing
Please register or sign in to comment