Sami Hult d4c8e93190 Changed metadata print option to accept general urls
This is an - once again - updated patch, that uses avio_write instead
of avio_puts to stream clean text output without null characters. Works
now for me as intended.

Changes metadata filter to accept general urls as file argument without
breaking former behaviour. As a byproduct, it also allows for writing to
file "-" if specified as "file:-".

Example:

ffmpeg -i test.wav -filter_complex "silencedetect=n=-40dB:d=0.1,ametadata=mode=print:file='pipe\:4'" -f null

Signed-off-by: Sami Hult <sami.hult@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-07-10 00:36:49 +02:00
..
2016-05-31 15:15:54 +02:00
2014-07-20 02:01:50 +02:00
2016-03-28 14:13:17 -08:00
2015-10-08 23:11:32 +02:00
2016-05-04 18:16:21 +02:00
2014-05-28 03:52:50 +02:00
2014-12-01 00:31:06 +01:00
2016-03-28 14:13:17 -08:00
2016-05-04 18:16:21 +02:00
2015-02-02 05:04:14 +01:00