diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input/ProxyInputStream.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input/ProxyInputStream.cxx b/src/input/ProxyInputStream.cxx index d65fb5df1..67b2c3338 100644 --- a/src/input/ProxyInputStream.cxx +++ b/src/input/ProxyInputStream.cxx @@ -40,7 +40,10 @@ ProxyInputStream::CopyAttributes() if (input.HasMimeType()) SetMimeType(input.GetMimeType()); - size = input.GetSize(); + size = input.KnownSize() + ? input.GetSize() + : -1; + seekable = input.IsSeekable(); SetReady(); } |