media/gpu/v4l2vd: release reference to frames upon DRC
When a dynamic resolution change occurs and a new picture is imported under the same ID as a previously existing one, we need to release the reference to the old frame in picture_at_client_, otherwise the reference counter will never to back to 0 and the picture will never be released. BUG=b:161759267 BUG=b:165035340 BUG=b:172881995 TEST=DRC with Youtube Android app on Trogdor now takes place smoothly. TEST=CTS H264 AdaptivePlaybackTests now pass. Change-Id: I82350fbc9355d22365b7f6432243b3ecb39a22b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2540206 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Chih-Yu Huang <akahuang@chromium.org> Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#828136}
Showing
Please register or sign in to comment