[FFmpeg-devel] [PATCH 4/5] file: Add 'blocksize' option

Michael Niedermayer michaelni at gmx.at
Sun Jul 28 17:41:14 CEST 2013


On Sat, Jul 13, 2013 at 08:05:41PM +0300, Andrey Utkin wrote:
> Interruptibility of file operations is strongly desirable in case of
> slow storage access, e.g. mounted network share.
> This commit introduces possibility to limit data quantity transferred by
> 'file' protocol at once. By default, old behaviour is preserved and data
> is still tried to be transferred without block size limitation.
> 
> Note that file I/O operation still may block (or even freeze) inside of
> single read(2) or write(2) operation.
> ---
>  libavformat/file.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

This patch breaks fate

--- ./tests/ref/fate/ffmpeg-filter_complex  2013-07-28 03:15:49.960548379 +0200
+++ tests/data/fate/ffmpeg-filter_complex   2013-07-28 17:37:16.803972370 +0200
@@ -1,6 +0,0 @@
-#tb 0: 1/5
-0,          0,          0,        1,   115200, 0x375ec573
-0,          1,          1,        1,   115200, 0x375ec573
-0,          2,          2,        1,   115200, 0x375ec573
-0,          3,          3,        1,   115200, 0x375ec573
-0,          4,          4,        1,   115200, 0x375ec573
Test ffmpeg-filter_complex failed. Look at tests/data/fate/ffmpeg-filter_complex.err for details.
make: *** [fate-ffmpeg-filter_complex] Error 1
make: *** Waiting for unfinished jobs....
--- ./tests/ref/fate/ffmpeg-lavfi   2013-07-28 03:15:49.960548379 +0200
+++ tests/data/fate/ffmpeg-lavfi    2013-07-28 17:37:16.811972370 +0200
@@ -1,6 +0,0 @@
-#tb 0: 1/5
-0,          0,          0,        1,   115200, 0x375ec573
-0,          1,          1,        1,   115200, 0x375ec573
-0,          2,          2,        1,   115200, 0x375ec573
-0,          3,          3,        1,   115200, 0x375ec573
-0,          4,          4,        1,   115200, 0x375ec573
Test ffmpeg-lavfi failed. Look at tests/data/fate/ffmpeg-lavfi.err for details.
make: *** [fate-ffmpeg-lavfi] Error 1
--- ./tests/ref/fate/dcinema-encode 2013-07-23 03:31:25.031467023 +0200
+++ tests/data/fate/dcinema-encode  2013-07-28 17:37:16.795972369 +0200
@@ -1 +0,0 @@
-MD5=2d7c6897c315493647db159f4bfd6edc
Test dcinema-encode failed. Look at tests/data/fate/dcinema-encode.err for details.
make: *** [fate-dcinema-encode] Error 1

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130728/8e8eb843/attachment.asc>


More information about the ffmpeg-devel mailing list