Fix ERROR_IO due to timeout on video stream and corrupt samples
This change applies to the wv extractor when used in conjunction with new MediaCodec model. Change-Id: I999990ff41d35641110a58472f1cdb8c4c7db02e related-to-bug: 5986621
This commit is contained in:
@@ -25,7 +25,7 @@ class WVMFileSource;
|
||||
class WVMMediaSource : public MediaSource {
|
||||
public:
|
||||
WVMMediaSource(WVSession *session, WVEsSelector esSelector,
|
||||
const sp<MetaData> &metaData, bool isLive);
|
||||
const sp<MetaData> &metaData, bool isLive, bool cryptoPluginMode);
|
||||
|
||||
void delegateFileSource(sp<WVMFileSource> fileSource);
|
||||
void delegateDataSource(sp<DataSource> dataSource);
|
||||
@@ -79,7 +79,7 @@ private:
|
||||
bool mLogOnce;
|
||||
bool mIsLiveStream;
|
||||
bool mNewSegment;
|
||||
bool mCryptoPluginMode;
|
||||
bool mCryptoInitialized;
|
||||
|
||||
MediaBufferGroup *mGroup;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user