diff options
author | wm4 <wm4@nowhere> | 2019-06-19 16:48:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:05 +0200 |
commit | e40885d963f8b60d83aa5ea8104985dd20af262f (patch) | |
tree | 82c2fd8284e9a81a211dc7755f5e40e97926cd6e /filters/f_swscale.h | |
parent | de3ecc60cb5ac39e727d8bd1fe4f9e3499f8e672 (diff) | |
download | mpv-e40885d963f8b60d83aa5ea8104985dd20af262f.tar.bz2 mpv-e40885d963f8b60d83aa5ea8104985dd20af262f.tar.xz |
stream: create memory streams in more straightforward way
Instead of having to rely on the protocol matching, make a function that
creates a stream from a stream_info_t directly. Instead of going through
a weird indirection with STREAM_CTRL, add a direct argument for non-text
arguments to the open callback. Instead of creating a weird dummy
mpv_global, just pass an existing one from all callers. (The latter one
is just an artifact from the past, where mpv_global wasn't available
everywhere.)
Actually I just wanted a function that creates a stream without any of
that bullshit. This goal was slightly missed, since you still need this
heavy "constructor" just to setup a shitty struct with some shitty
callbacks.
Diffstat (limited to 'filters/f_swscale.h')
0 files changed, 0 insertions, 0 deletions