aboutsummaryrefslogtreecommitdiff
path: root/apps/sample-timestamp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sample-timestamp.cpp')
-rw-r--r--apps/sample-timestamp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sample-timestamp.cpp b/apps/sample-timestamp.cpp
index 2fde1b6..85431ae 100644
--- a/apps/sample-timestamp.cpp
+++ b/apps/sample-timestamp.cpp
@@ -125,7 +125,7 @@ public:
relative_key = dict.indexOf(relative_name);
auto sample_buffer = make_shared<VectorSampleOutputStream>();
- auto parser = open_sample_input_stream(sample_buffer, dict);
+ auto parser = open_sample_stream_parser(sample_buffer, dict);
while (!input.fail()) {
char buffer[buffer_size];
input.read(buffer, buffer_size);
@@ -182,7 +182,7 @@ public:
unique_ptr<SampleOutputStream> unique_output_stream = open_sample_output_stream(shared_ptr<ostream>(&cout, noop_deleter), dict, parser->type(), options);
shared_ptr<SampleOutputStream> output_stream{std::move(unique_output_stream)};
shared_ptr<SampleOutputStream> p = make_shared<TimestampFixingSampleOutputStream>(output_stream, dict, timestamp_name, relative_name, relative_resolution, start_time);
- parser = open_sample_input_stream(p, dict, parser->type());
+ parser = open_sample_stream_parser(p, dict, parser->type());
int recordCount = 0;