From 25f3038d40edd7b88e06b2a0643878b30264f1b6 Mon Sep 17 00:00:00 2001 From: Salvador Cuñat Date: Wed, 22 Jul 2015 17:20:39 +0200 Subject: RBT - Add save/load in xml file support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Salvador Cuñat Signed-off-by: Dirk Hohndel --- save-xml.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'save-xml.c') diff --git a/save-xml.c b/save-xml.c index 160b5fc84..00f4626d3 100644 --- a/save-xml.c +++ b/save-xml.c @@ -210,6 +210,8 @@ static void save_sample(struct membuffer *b, struct sample *sample, struct sampl put_format(b, " tts='%u:%02u min'", FRACTION(sample->tts.seconds, 60)); old->tts = sample->tts; } + if (sample->rbt.seconds) + put_format(b, " rbt='%u:%02u min'", FRACTION(sample->rbt.seconds, 60)); if (sample->in_deco != old->in_deco) { put_format(b, " in_deco='%d'", sample->in_deco ? 1 : 0); old->in_deco = sample->in_deco; -- cgit v1.2.3-70-g09d2