Vaapi decoder: reset |num_frames_at_client_| on surface set change

This CL resets |num_frames_at_client_| on surface set change to prevent
the previous state spilling over, as can be seen on e.g. [1] (trace
of crosvideo.appspot.com/?codec=vp9&cycle=true with two resolution
changes).

[1] https://i.imgur.com/wB7RI5V.png (https://imgur.com/a/eyhrbSq)

TBR=hiroh@chromium.org since the change is trivial and anyway
v_d_a_unit vp9 test work still on e.g. nocturne

Bug: 909926
Change-Id: Ifff5f2ec4538115320ea713b1b52709858da26a4
Reviewed-on: https://chromium-review.googlesource.com/c/1356898
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Reviewed-by: Pawel Osciak <posciak@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612835}
1 file changed