using sigrok::ConfigKey;
using sigrok::Error;
using sigrok::OutputFormat;
+using sigrok::OutputFlag;
namespace pv {
map<string, Glib::VariantBase> options = options_;
- output_stream_.open(file_name_, ios_base::binary |
- ios_base::trunc | ios_base::out);
+ if (!output_format_->test_flag(OutputFlag::INTERNAL_IO_HANDLING))
+ output_stream_.open(file_name_, ios_base::binary |
+ ios_base::trunc | ios_base::out);
output_ = output_format_->create_output(file_name_, device, options);
auto meta = context->create_meta_packet(