From: "Hsia-Jun(Randy) Li"
It shouldn't allocate buffer nor get the capture fmt before
the resolution change event appeared in decoder setup.
And it should not apply to new resolution before
the buffer from the previous sequence is dequeued.
Changelog:
v2
1. Decoder won't get or set format befo
It shouldn't allocate buffer before the resolution
change event appeared in decoder setup.
And it should not apply to new resolution before
the buffer from the previous sequence is dequeued.
Change-Id: Id04550b0f17e1501b670a3bcbdd860d5836259bf
Signed-off-by: Hsia-Jun(Randy) Li
---
libavcodec/v4