diff options
-rw-r--r-- | stream/cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/cache.c b/stream/cache.c index 7bbbcd62c5..12c66a32bb 100644 --- a/stream/cache.c +++ b/stream/cache.c @@ -408,6 +408,10 @@ static int cache_get_cached_control(stream_t *cache, int cmd, void *arg) s->idle = s->eof = false; pthread_cond_signal(&s->wakeup); return STREAM_OK; + case STREAM_CTRL_AVSEEK: + if (!s->has_avseek) + return STREAM_UNSUPPORTED; + break; } return STREAM_ERROR; } |