diff options
author | wm4 <wm4@nowhere> | 2019-09-29 00:45:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-29 00:46:54 +0200 |
commit | 2bb5ab07b7ee09fb7ae0e90a74c1e8e5adcc3d59 (patch) | |
tree | ce765b9b553e40890faba658243191542b8f5068 /audio/out/ao_coreaudio_properties.c | |
parent | a7158ceec00f14e680a885722cfe23761b4662d3 (diff) | |
download | mpv-2bb5ab07b7ee09fb7ae0e90a74c1e8e5adcc3d59.tar.bz2 mpv-2bb5ab07b7ee09fb7ae0e90a74c1e8e5adcc3d59.tar.xz |
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.)
Diffstat (limited to 'audio/out/ao_coreaudio_properties.c')
0 files changed, 0 insertions, 0 deletions