For VDA standard flow, PictureReady post for a picture should always be sent before DismissPicture.
Recently we found a GTS failure on minnie (V4L2SVDA) due to this:
https://b.corp.google.com/issues/65122796
Moreover, I realized the same issue had been found on elm (V4L2VDA) before:
https://b.corp.google.com/issues/32496516
<quote>
Dequeued decoded surfaces may be pended in pending_picture_ready_ if they
are waiting for some pictures to be cleared. That is, PictureReady is postponed. We should post them right away because during resolution change those surfaces are about to dismissed and destroyed.