v4l2_stateful_decoder: Handle short files

On files that don't have enough frames to fully prime
the OUTPUT queue in |prime_OUTPUT()|,
|submit_compressed_data| would result in an assert
because there wasn't anymore data.  This is a valid
occurrence and the decode should continue on so that
the queues get drained.

BUG=b:191804616
TEST=tast run ${DUT} video.PlatformDecoding.v4l2_vp8*

Change-Id: I31ea7d03673821f90d036dd19422ddcef27ff7cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/3436619
Reviewed-by: Steve Cho <stevecho@chromium.org>
Commit-Queue: Fritz Koenig <frkoenig@chromium.org>
Tested-by: Fritz Koenig <frkoenig@chromium.org>
1 file changed