diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_bluray.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index 9ad56e5de0..81e4c00ba9 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -410,9 +410,10 @@ static int bluray_stream_open_internal(stream_t *s) if (!ti) continue; + char *time = mp_format_time(ti->duration / 90000, false); MP_VERBOSE(s, "idx: %3d duration: %s (playlist: %05d.mpls)\n", - i + 1, mp_format_time(ti->duration / 90000, false), - ti->playlist); + i + 1, time, ti->playlist); + talloc_free(time); /* try to guess which title may contain the main movie */ if (ti->duration > max_duration) { |