v4l2_stateful_decoder: Write frames to single file

Previously frames were written to individual files.
Allow for all the frames to be written to a single file.
This allows tools such as fluster, which performs a full
fill MD5sum, to work.

BUG=b:204566257
TEST=v4l2_stateful_decoder --file ${INPUT_FILE} --single ${OUTPUT_FILE}

Change-Id: Ie44141bdafa6291586d1dff8d65607172de951f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/3652350
Commit-Queue: Fritz Koenig <frkoenig@chromium.org>
Tested-by: Fritz Koenig <frkoenig@chromium.org>
Reviewed-by: Nathan Hebert <nhebert@chromium.org>
1 file changed