mpv/common
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
..
av_common.c demux: always use AVPacket 2014-08-25 00:46:26 +02:00
av_common.h Improve setting AVOptions 2014-08-02 03:12:33 +02:00
av_log.c av_log: add tons of warnings against mismatched ffmpeg/libav libraries 2014-02-10 23:28:10 +01:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
codecs.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
codecs.h codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
common.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
common.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
encode_lavc.c encode: deal with codec->time_base deprecation 2014-07-22 23:04:12 +02:00
encode_lavc.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
msg.c msg, client API: buffer partial lines 2014-10-08 13:11:55 +02:00
msg.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
msg_control.h Add more const 2014-06-11 00:39:14 +02:00
playlist.c player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
playlist.h player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
tags.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
tags.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
version.c Add more const 2014-06-11 00:39:14 +02:00