From f5f7c0e4dd83257f526b158e3998970717852a0e Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 17 Jul 2013 18:42:33 +0100 Subject: Initial work on progressive loading We are testing this using a new -p flag to mupdf that sets a bitrate at which data will appear to arrive progressively as time goes on. For example: mupdf -p 102400 pdf_reference17.pdf Details of the scheme used here are presented in docs/progressive.txt --- source/pdf/pdf-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/pdf/pdf-stream.c') diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c index 9d25915b..a46cdcc7 100644 --- a/source/pdf/pdf-stream.c +++ b/source/pdf/pdf-stream.c @@ -536,7 +536,7 @@ pdf_open_object_array(pdf_document *doc, pdf_obj *list) } fz_catch(ctx) { - /* FIXME: TryLater */ + fz_rethrow_if(ctx, FZ_ERROR_TRYLATER); fz_warn(ctx, "cannot load content stream part %d/%d", i + 1, n); continue; } -- cgit v1.2.3