diff options
Diffstat (limited to 'src/output/httpd_internal.h')
-rw-r--r-- | src/output/httpd_internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output/httpd_internal.h b/src/output/httpd_internal.h index 55843e73f..14a5cf350 100644 --- a/src/output/httpd_internal.h +++ b/src/output/httpd_internal.h @@ -52,6 +52,14 @@ struct httpd_output { struct encoder *encoder; /** + * Number of bytes which were fed into the encoder, without + * ever receiving new output. This is used to estimate + * whether MPD should manually flush the encoder, to avoid + * buffer underruns in the client. + */ + size_t unflushed_input; + + /** * The MIME type produced by the #encoder. */ const char *content_type; |