mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 06:30:06 +00:00
f73778ad82
The API could return partial lines, meaning the message could stop in the middle of a line, and the next message would have the rest of it (or just the next part of it). This was a pain for the user, so do the nasty task of buffering the lines ourselves. Now only complete lines are sent. To make things even easier for the API user, don't put multiple lines into a single event, but split them. The terminal output code needed something similar (inserting a prefix header on start of each line). To avoid code duplication, this commit refactors the terminal output so that lines are split in a single place. |
||
---|---|---|
.. | ||
client_api_examples | ||
man | ||
client-api-changes.rst | ||
contribute.md | ||
crosscompile-mingw.md | ||
edl-mpv.rst | ||
encoding.rst | ||
release-policy.md | ||
tech-overview.txt | ||
waf-buildsystem.rst |