ostream operator for append_map_t for easier debugging

This commit is contained in:
Moritz Bunkus 2011-04-20 08:28:19 +02:00
parent 0001133ec1
commit 74a208e5bf

View File

@ -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