libavformat/segment.c: Add strftime expansion for segment filename templates
authorPedro E. M. Brito <pedroembrito@gmail.com>
Sun, 28 Dec 2014 07:35:34 +0000 (05:35 -0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 28 Dec 2014 20:48:44 +0000 (21:48 +0100)
commit202947a0665ea523022afb0a6c50eed96bcd6b69
treedfa83a970318a43357fb5330304d2ad3c3c26fbe
parent6a6a0620e2f8cf051131ac1cadbb0c43f1db8b03
libavformat/segment.c: Add strftime expansion for segment filename templates

Allows expansion of the filename template with strftime() with the option
-strftime 1 (disabled by default). This allows segments to be named by time of
creation, adding some flexibility.

Fixes Ticket 4104 (add strftime to segment muxer)

Signed-off-by: Pedro E. M. Brito <pedroembrito@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segment.c