diff options
Diffstat (limited to 'src/input_stream.c')
-rw-r--r-- | src/input_stream.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input_stream.c b/src/input_stream.c index d207188cd..effa24798 100644 --- a/src/input_stream.c +++ b/src/input_stream.c @@ -67,6 +67,16 @@ input_stream_open(const char *url, GError **error_r) return false; } +void +input_stream_update(struct input_stream *is) +{ + assert(is != NULL); + assert(is->plugin != NULL); + + if (is->plugin->update != NULL) + is->plugin->update(is); +} + bool input_stream_seek(struct input_stream *is, goffset offset, int whence, GError **error_r) |