media/gpu/chromeos/V4L2SVD: Skip setting resolution at Initialize().
The client of video decoder would pass the initial resolution when calling VideoDecoder::Initialize(). However, V4L2SVD could still get the resolution by AcceleratedVideoDecoder parsing the header. Therefore, V4L2SVD don't need to set the resolution at Initialize(). Moreover, at the next CL we will implement an adapter from VDA to VD. Setting the resolution at Initialize() cannot be fit with VDA api. This CL removes V4L2SVD setting resolution at Initialize(). Bug: b:136716838 Test: pass vda_tests on Kevin Change-Id: I7957bf23574ad47d3666f39b05371182f2b37301 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1923877Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#718910}
Showing
Please register or sign in to comment