1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 04:02:06 +00:00
mpv/libmpv
wm4 f73778ad82 msg, client API: buffer partial lines
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.
2014-10-08 13:11:55 +02:00
..
client.h msg, client API: buffer partial lines 2014-10-08 13:11:55 +02:00
mpv.def build: move def file to libmpv/ 2014-08-05 20:02:41 +02:00
mpv.pc.in build: add hacks to force waf to generate valid .pc files 2014-08-07 23:45:40 +02:00