Commit 15dbe906 authored by Jan Gerber's avatar Jan Gerber
Browse files

print duration in float

parent 109e791a
......@@ -2186,7 +2186,7 @@ int main(int argc, char **argv) {
}
if (info.frontend) {
fprintf(info.frontend, "\nf2t ;duration: %d;\n", (int)(convert->context->duration / AV_TIME_BASE));
fprintf(info.frontend, "\nf2t ;duration: %f;\n", (float)convert->context->duration / AV_TIME_BASE);
fflush(info.frontend);
}
......
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