diff options
Diffstat (limited to 'core/save-xml.c')
-rw-r--r-- | core/save-xml.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/save-xml.c b/core/save-xml.c index da7b4738b..75e90f921 100644 --- a/core/save-xml.c +++ b/core/save-xml.c @@ -277,8 +277,10 @@ 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) + if (sample->rbt.seconds != old->rbt.seconds) { put_format(b, " rbt='%u:%02u min'", FRACTION(sample->rbt.seconds, 60)); + old->rbt = sample->rbt; + } if (sample->in_deco != old->in_deco) { put_format(b, " in_deco='%d'", sample->in_deco ? 1 : 0); old->in_deco = sample->in_deco; |