mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
When decoding H.264, ffmpeg tries to set the frame format before receiving the first DRC event, which is currently rejected even though this is valid from the point of view of the client. We need to silently accept the temporary format and all queued output buffers until the initial DRC event is fired, even though we won't emit any frame. BUG=None TEST=`ffmpeg -codec:v h264_v4l2m2m -i Big_Buck_Bunny_720_10s_1MB.mp4 BBB-%d.png` completes successfully in the guest and produces valid frames. Change-Id: I9a190ab2748bd59ff57d54be681f2a1553d1c6a3 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3841484 Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
bindings | ||
bindings.rs | ||
buffer.rs | ||
buffer_type.rs | ||
config.rs | ||
context.rs | ||
display.rs | ||
generic_value.rs | ||
image.rs | ||
lib.rs | ||
picture.rs | ||
status.rs | ||
surface.rs | ||
usage_hint.rs |