media/gpu/test: Fix video decoder thumbnail test writing to wrong path.

This CL fixes a bug causing the video decoder thumbnail test to write the
thumbnails image to the wrong path. When calling MakeAbsoluteFilePath() on a
non-existing folder the path will always resolve to the current working
directory. To fix this we need to first create the path before resolving it.

This CL will also print the path of the output file, making it easier to locate.

TEST=./video_decode_accelerator_tests on eve

BUG=964168

Change-Id: I0f8a0c2eef1c26097bfd5072a303b7db149ac06f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1695326
Commit-Queue: David Staessens <dstaessens@chromium.org>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676786}
1 file changed