diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-28 21:52:46 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-28 21:52:46 +0100 |
commit | 8d9760f9bfc8be9b1abad9a8212b14ffd4552fd7 (patch) | |
tree | d38b8762e08ecb33a4a94ad89b0d058e54a542b8 /apps/sample-timestamp.cpp | |
parent | f110a0912efb7245d6d548aa8a5ac0c89bcd9dc0 (diff) | |
download | ble-toys-8d9760f9bfc8be9b1abad9a8212b14ffd4552fd7.tar.gz ble-toys-8d9760f9bfc8be9b1abad9a8212b14ffd4552fd7.tar.bz2 ble-toys-8d9760f9bfc8be9b1abad9a8212b14ffd4552fd7.tar.xz ble-toys-8d9760f9bfc8be9b1abad9a8212b14ffd4552fd7.zip |
o Adding timestamp by default when converting samples.
Diffstat (limited to 'apps/sample-timestamp.cpp')
-rw-r--r-- | apps/sample-timestamp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sample-timestamp.cpp b/apps/sample-timestamp.cpp index 85431ae..cf0b7fe 100644 --- a/apps/sample-timestamp.cpp +++ b/apps/sample-timestamp.cpp @@ -178,7 +178,7 @@ public: return EXIT_FAILURE; } - vector<sample_output_stream_option*> options = {}; + sample_output_stream_options options; 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); |