diff options
author | wm4 <wm4@nowhere> | 2013-05-11 22:19:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-12 21:51:57 +0200 |
commit | faad40aad92d51290ef2fc4d94277eca89863873 (patch) | |
tree | 48979e16495ec04765f8e684610750821b80332a /stream/cache2.c | |
parent | e6e5a7b221ef2fcdd5a1982d6fdcb627100447d2 (diff) | |
download | mpv-faad40aad92d51290ef2fc4d94277eca89863873.tar.bz2 mpv-faad40aad92d51290ef2fc4d94277eca89863873.tar.xz |
core: add --stream-capture
This is a partial revert of commit 7059c15, and basically re-adds
--capture, just with different option names and slightly different
semantics.
Diffstat (limited to 'stream/cache2.c')
-rw-r--r-- | stream/cache2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/cache2.c b/stream/cache2.c index 38c57d0af9..1337e44e37 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -593,6 +593,7 @@ int cache_stream_fill_buffer(stream_t *s){ s->buf_len=len; s->pos+=len; // printf("[%d]",len);fflush(stdout); + stream_capture_write(s); return len; } |