Calling the decoder immediately after encoding a video often trips on the ongoing mfc buffer flushes from the encoder that has just shut down, and fails due to the unavailability of any buffer of sufficient size. If MFC_DEC_INIT fails, give it 100msec and try again. This resolves the blank thumbs when switching to the gallery in the same session that a recording was made. Change-Id: I13b1be8757b314e1c903a0570f9b053550164616tirimbino
parent
674a4f10ca
commit
e2f7ac211d
Loading…
Reference in new issue