mfcdec: Compensate race condition in video thumbnail generation
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: I13b1be8757b314e1c903a0570f9b053550164616
Loading
Please register or sign in to comment