summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h
diff options
context:
space:
mode:
authorVenkatarama Avadhani <venkatarama.avadhani@ittiam.com>2015-04-17 19:20:08 +0530
committerLajos Molnar <lajos@google.com>2015-04-17 23:28:41 +0000
commit8f81045b9219cada36c7be7e6f0541cfa7bd94c8 (patch)
treea833dded16efd371261175fac3f68fc777933362 /media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h
parent3f22f5a2d95699650a454041bcaa1d5a248cca88 (diff)
downloadframeworks_av-8f81045b9219cada36c7be7e6f0541cfa7bd94c8.zip
frameworks_av-8f81045b9219cada36c7be7e6f0541cfa7bd94c8.tar.gz
frameworks_av-8f81045b9219cada36c7be7e6f0541cfa7bd94c8.tar.bz2
SoftMPEG2: start output at first I-frame
This fixes thumbnail generation for open GOP sequences Also add -Werror to this library to detect issues. Change-Id: I0136ca05070326c895fb3010b8e9557eac2d25df
Diffstat (limited to 'media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h')
-rw-r--r--media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h b/media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h
index f7b1961..a625e08 100644
--- a/media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h
+++ b/media/libstagefright/codecs/mpeg2dec/SoftMPEG2.h
@@ -105,6 +105,7 @@ private:
// codec. So the codec is switching to decode the new resolution.
bool mChangingResolution;
bool mFlushNeeded;
+ bool mWaitForI;
status_t initDecoder();
status_t deInitDecoder();