summaryrefslogtreecommitdiff
path: root/src/PCMParserList.cpp
diff options
context:
space:
mode:
authormschroffel <mschroffel@cinecert.com>2016-03-17 23:58:13 +0000
committermschroffel <>2016-03-17 23:58:13 +0000
commited84256d7687b8255991308361e26013b7071dd9 (patch)
tree58090552a149397f61944daf6cabf7208025f915 /src/PCMParserList.cpp
parente10177793b42db5b9a8671dcff9e7c9cbc6a676a (diff)
included CMakelists.txt into dist
Diffstat (limited to 'src/PCMParserList.cpp')
-rwxr-xr-xsrc/PCMParserList.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/PCMParserList.cpp b/src/PCMParserList.cpp
index 0ae22cc..c073e3f 100755
--- a/src/PCMParserList.cpp
+++ b/src/PCMParserList.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2004-2015, John Hurst
+Copyright (c) 2004-2016, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -301,5 +301,19 @@ ASDCP::PCMParserList::ReadFrame(PCM::FrameBuffer& OutFB)
}
//
+ASDCP::Result_t ASDCP::PCMParserList::Seek(ui32_t frame_number)
+{
+ Result_t result = RESULT_OK;
+ PCMParserList::iterator self_i;
+
+ for( self_i = begin(); self_i != end() && ASDCP_SUCCESS(result); self_i++ )
+ {
+ result = (*self_i)->Parser.Seek(frame_number);
+ }
+
+ return result;
+}
+
+//
// end PCMParserList.cpp
//