1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-31 07:51:55 +00:00
mpv/stream
wm4 2bb5ab07b7 stream: rearrange open functions
Add yet another variant of the stream open function. This time, make it
so that it's possible to add new open parameters in an extendable way,
which should put an end to having to change this every other year.

Effectively get rid of the overly special stream_create_instance()
function and use the new one instead, which requires changes in
stream_concat.c and stream_memory.c. The function is still in private in
stream.c, but I preferred to make the mentioned users go through the new
function for orthogonality. The error handling (mostly logging) was
adjusted accordingly.

This should not have any functional changes. (To preempt any excuses, I
didn't actually test stream_concat and stream_memory.)
2019-09-29 00:46:54 +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: add cancel_fn callback 2019-09-27 13:00:45 -07:00
stream_cdda.c stream: remove BD/DVD/CDDA sector size alignment 2019-09-13 17:32:05 +02:00
stream_concat.c stream: rearrange open functions 2019-09-29 00:46:54 +02:00
stream_dvb.c stream_dvb: remove unused variable 2019-09-21 22:05:24 +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: Always use LC_CTYPE_MASK for libarchive 2019-09-21 12:53:47 +02:00
stream_libarchive.h stream_libarchive: Fix locale includes on macOS 2017-12-03 21:54:12 +01:00
stream_memory.c stream: rearrange open functions 2019-09-29 00:46:54 +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: rearrange open functions 2019-09-29 00:46:54 +02:00
stream.h stream: rearrange open functions 2019-09-29 00:46:54 +02:00