Replaced last_video_frame and last_audio_frame with a single last_frame variable, and refactored some related code. This fixes a big audio seeking bug.

This commit is contained in:
Jonathan Thomas
2012-07-06 15:17:57 -05:00
parent 457df5b2ff
commit 21aa4d6b01
4 changed files with 16 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ void FileReaderBase::InitFileInfo()
// Display file information
void FileReaderBase::DisplayInfo() {
cout << fixed << setprecision(2) << cout << boolalpha;
cout << fixed << setprecision(2) << boolalpha;
cout << "----------------------------" << endl;
cout << "----- File Information -----" << endl;
cout << "----------------------------" << endl;