From 74a208e5bfff8be419eb95232d88c4e877252561 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 20 Apr 2011 08:28:19 +0200 Subject: [PATCH] ostream operator for append_map_t for easier debugging --- src/merge/output_control.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/merge/output_control.cpp b/src/merge/output_control.cpp index 8666c91f5..52efcde09 100644 --- a/src/merge/output_control.cpp +++ b/src/merge/output_control.cpp @@ -237,6 +237,13 @@ family_uids_c::add_family_uid(const KaxSegmentFamily &family) { return true; } +std::ostream & +operator<<(std::ostream &str, + const append_spec_t &spec) { + str << spec.src_file_id << ":" << spec.src_track_id << ":" << spec.dst_file_id << ":" << spec.dst_track_id; + return str; +} + /** \brief Fix the file after mkvmerge has been interrupted On Unix like systems mkvmerge will install a signal handler. On \c SIGUSR1