1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 22:06:59 +00:00
mpv/stream
wm4 e40885d963 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.
2019-09-19 20:37:05 +02:00
..
cookies.c cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
cookies.h cookies: change license to LGPL 2017-05-11 07:29:01 +02:00
dvb_tune.c dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
dvb_tune.h dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
dvbin.h dvb: Add multiple frontends support: MAX_FRONTENDS now 8. 2017-12-16 23:24:55 -08:00
stream_avdevice.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_bluray.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_cb.c stream_cb: don't add "*://" to protocol list 2016-09-10 15:35:22 +02:00
stream_cdda.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_dvb.c stream: remove some more optical disc leftovers 2019-09-13 17:32:21 +02:00
stream_dvdnav.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_edl.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_file.c stream_file: remove unnecessary short write logic 2019-09-14 13:00:10 +02:00
stream_lavf.c options: add --http-proxy 2018-05-31 01:24:51 +03:00
stream_libarchive.c stream_libarchive: remove base filename stuff 2019-09-19 20:37:04 +02:00
stream_libarchive.h stream_libarchive: Fix locale includes on macOS 2017-12-03 21:54:12 +01:00
stream_memory.c stream: create memory streams in more straightforward way 2019-09-19 20:37:05 +02:00
stream_mf.c demux, stream: rip out the classic stream cache 2018-08-31 12:55:22 +02:00
stream_null.c stream_null: change license to LGPL 2017-05-08 12:45:50 +02:00
stream_smb.c stream_smb: remove unnecessary short write logic 2019-09-14 13:00:43 +02:00
stream.c stream: create memory streams in more straightforward way 2019-09-19 20:37:05 +02:00
stream.h stream: create memory streams in more straightforward way 2019-09-19 20:37:05 +02:00