OSDN Git Service

avformat/dashenc: Only use temporary files when outputting to file protocol
authorThomas Stephens <thomas@ustudio.com>
Tue, 7 Feb 2017 20:20:32 +0000 (14:20 -0600)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Feb 2017 16:00:30 +0000 (17:00 +0100)
commit5fe2b437023f46394dfd4a4c991aa4a3ac3d8e72
tree1306a893831ac88fe5f7ee6c0453289b258efd79
parentdb3507a670aec46fd5ed58c90d2927eb7f72d8ed
avformat/dashenc: Only use temporary files when outputting to file protocol

Skips using temporary files when outputting to a protocol other than
"file", which enables dash to output content over network
protocols. The logic has been copied from the HLS format.

Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/dashenc.c