diff options
author | wm4 <wm4@nowhere> | 2013-03-25 20:32:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-15 02:51:17 +0200 |
commit | 58cff195e7d17b348d9ddf5e472420063a9717cc (patch) | |
tree | 516a4e3dce86bdf7ccfa01b3ec4b5ea79c7dfe22 /mpvcore/mp_common.h | |
parent | a87298e5015f083b6ea294f578dc0d54e1f0f88f (diff) | |
download | mpv-58cff195e7d17b348d9ddf5e472420063a9717cc.tar.bz2 mpv-58cff195e7d17b348d9ddf5e472420063a9717cc.tar.xz |
mp_common: add function which accepts a format string to format playback time
Diffstat (limited to 'mpvcore/mp_common.h')
-rw-r--r-- | mpvcore/mp_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/mp_common.h b/mpvcore/mp_common.h index 9a719ae8ab..651136d2cb 100644 --- a/mpvcore/mp_common.h +++ b/mpvcore/mp_common.h @@ -49,6 +49,7 @@ extern const char *mplayer_version; extern const char *mplayer_builddate; char *mp_format_time(double time, bool fractions); +char *mp_format_time_fmt(const char *fmt, double time); struct mp_rect { int x0, y0; |