From 30bf3472bfe2388d81c795472152b4a0b36b1e37 Mon Sep 17 00:00:00 2001 From: Hwasoo Lee Date: Wed, 3 Nov 2010 13:46:44 -0400 Subject: [PATCH] Updated RELEASE.TXT --- RELEASE.TXT | 28 +++++++++++++++++++++++++++- sample.cpp | 4 +++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/RELEASE.TXT b/RELEASE.TXT index b7cd858..a7e9f03 100644 --- a/RELEASE.TXT +++ b/RELEASE.TXT @@ -1,3 +1,29 @@ +1.0.0.5 + * Handled case when no duration + * Handled empty clusters + * Handled empty clusters when seeking + * Implemented check lacing bits + +1.0.0.4 + * Made Cues member variables mutables + * Defined against badly-formatted cue points + * Segment::GetCluster returns CuePoint too + * Separated cue-based searches + +1.0.0.3 + * Added Block::GetOffset() to get a frame's offset in a block + * Changed cluster count type from size_t to long + * Parsed SeekHead to find cues + * Allowed seeking beyond end of cluster cache + * Added not to attempt to reparse cues element + * Restructured Segment::LoadCluster + * Marked position of cues without parsing cues element + * Allowed cue points to be loaded incrementally + * Implemented to load lazily cue points as they're searched + * Merged Cues::LoadCuePoint into Cues::Find + * Lazy init cues + * Loaded cue point during find + 1.0.0.2 * added support for Cues element * seeking was improved @@ -5,4 +31,4 @@ 1.0.0.1 * fixed item 141 * added item 142 - * added this file, RELEASE.TXT, to repository \ No newline at end of file + * added this file, RELEASE.TXT, to repository diff --git a/sample.cpp b/sample.cpp index 819673d..7186ee6 100644 --- a/sample.cpp +++ b/sample.cpp @@ -239,11 +239,13 @@ int main(int argc, char* argv[]) const Track* const pTrack = pTracks->GetTrackByNumber(trackNum); const long long trackType = pTrack->GetType(); const long size = pBlock->GetSize(); + const long long offset = pBlock->GetOffset(); const long long time_ns = pBlock->GetTime(pCluster); - printf("\t\t\tBlock\t\t:%s,%15ld,%s,%15lld\n", + printf("\t\t\tBlock\t\t:%s,%15ld,%15llx,%s,%15lld\n", (trackType == VIDEO_TRACK) ? "V" : "A", size, + offset, pBlock->IsKey() ? "I" : "P", time_ns);