Commit 7077eac5 authored by Max Kellermann's avatar Max Kellermann

test/FakeDecoderAPI: dump tags

parent b3435ae4
......@@ -145,8 +145,13 @@ decoder_data(gcc_unused Decoder &decoder,
DecoderCommand
decoder_tag(gcc_unused Decoder &decoder,
gcc_unused InputStream *is,
gcc_unused Tag &&tag)
Tag &&tag)
{
fprintf(stderr, "TAG: duration=%f\n", tag.duration.ToDoubleS());
for (const auto &i : tag)
fprintf(stderr, " %s=%s\n", tag_item_names[i.type], i.value);
return DecoderCommand::NONE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment