aboutsummaryrefslogtreecommitdiff
path: root/sensor
diff options
context:
space:
mode:
Diffstat (limited to 'sensor')
-rw-r--r--sensor/include/trygvis/sensor/io.h3
-rw-r--r--sensor/main/io.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/sensor/include/trygvis/sensor/io.h b/sensor/include/trygvis/sensor/io.h
index 7db7615..2cace70 100644
--- a/sensor/include/trygvis/sensor/io.h
+++ b/sensor/include/trygvis/sensor/io.h
@@ -179,8 +179,7 @@ public:
string name;
};
-// TODO: rename to open_sample_stream_parser
-unique_ptr<SampleStreamParser> open_sample_input_stream(
+unique_ptr<SampleStreamParser> open_sample_stream_parser(
shared_ptr<SampleOutputStream> output,
KeyDictionary &dict,
sample_format_type type = sample_format_type::AUTO);
diff --git a/sensor/main/io.cpp b/sensor/main/io.cpp
index 18040f1..4837414 100644
--- a/sensor/main/io.cpp
+++ b/sensor/main/io.cpp
@@ -360,7 +360,7 @@ void AutoSampleParser::process(mutable_buffers_1 buffer) {
}
}
-unique_ptr<SampleStreamParser> open_sample_input_stream(
+unique_ptr<SampleStreamParser> open_sample_stream_parser(
shared_ptr<SampleOutputStream> output,
KeyDictionary &dict,
sample_format_type type) {