Bug 1055383 Make MP4Reader::Decode not return false if output EOS is not reached. r=cpearce

This commit is contained in:
Blake Wu 2014-08-19 11:23:00 +08:00
parent 9f5c479287
commit 5340c054cd

View File

@ -570,7 +570,7 @@ MP4Reader::Decode(TrackType aTrack)
} }
} }
data.mMonitor.AssertCurrentThreadOwns(); data.mMonitor.AssertCurrentThreadOwns();
bool rv = !(data.mEOS || data.mError); bool rv = !(data.mDrainComplete || data.mError);
data.mMonitor.Unlock(); data.mMonitor.Unlock();
return rv; return rv;
} }